TP-Link T2500G-10MPS T2500G-10MPSUN V1 Configuration Guide - Page 168
Switchconfig#mac address-table notification interval
View all TP-Link T2500G-10MPS manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 168 highlights
Managing MAC Address Table Security Configurations Step 4 mac address-table notification interval time Set your desired interval time between each set of New MAC Learned notifications that are generated. time: Specify a time value in seconds between 1to 1000 to bundle the notifications and reduce traffic. By default, it is 1 second. Step 5 interface {[ gigabitEthernet port ] | [ range gigabitEthernet port-list ]} Configure notification traps on the specified port. port/ port-list: The number or the list of the Ethernet port that you want to configure notification traps. Step 6 mac address-table notification {[learn-mode-change enable | disable] [exceed-max-learned enable | disable] [new-mac-learned enable | disable]} Enable learn-mode-change, exceed-max-learned, or new-MAC-learned notification traps on the specified port. enable | disable:Enable or disable learn-mode-change, exceed-max-learned, or new-MAClearned notification traps on the specified port. learn-mode-change: With learn-mode-change enabled, when the learned mode of the specified port is changed, a notification will be generated and sent to the management host. exceed-max-learned: With exceed-max-learned enabled, when the maximum number of MAC addresses on the specified port is exceeded, a notification will be generated and sent to the management host. For Exceed Max Learned notification, you need to enable Port Security and set the maximum number of MAC addresses on the specified port. For more information about Port Security, please refer to Managing Physical Interfaces. new-mac-learned: With new-mac-learned enabled, when the specified port learns a new MAC address, a notification will be generated and sent to the management host. Step 7 end Return to privileged EXEC mode. Step 8 copy running-config startup-config Save the settings in the configuration file. Now you have configured MAC notification traps. To receive notifications, you need to further enable SNMP and set a management host. For detailed SNMP configurations, please refer to Configuring SNMP & RMON. The following example shows how to enable new-MAC-learned trap on port 1, and set the interval time as 10 seconds. After you have further configured SNMP, the switch will bundle notifications of new addresses in every 10 seconds and send to the management host. Switch#configure Switch(config)#mac address-table notification global-status enable Switch(config)#mac address-table notification interval 10 Switch(config)#interface gigabitEthernet 1/0/1 Switch(config-if)#mac address-table notification new-mac-learned enable Switch(config-if)#show mac address-table notification interface gigabitEthernet 1/0/1 Configuration Guide 141