
MAC Table Configuration
178
4. Configure the size of history table
5. Configure the trap type of MAC notification supported by the port
6. Show the configuration and the data of MAC notification
7. Clear the statistics of MAC notification trap
18.6.3
MAC Notification Example
IP address of network management station (NMS) is 1.1.1.5, IP address of Agent is
1.1.1.9. NMS will receive Trap message from Agent. (Note: NMS may set the
authentication to the community character string of trap, suppose the community
character string as usertrap)
Configuration procedure in the following:
Switch(config)#snmp-server enable
Switch(config)#snmp-server enable traps mac-notification
Switch(config)# mac-address-table notification
Switch(config)# mac-address-table notification interval 5
Command
Explanation
Global mode
mac-address-table notification history-size
<0-500>
no
mac-address-table
notification
history-size
Configure the history table size, the
no command restores the default
value.
Command
Explanation
Port mode
mac-notification {added | both | removed}
no mac-notification
Configure or cancel the trap type of
MAC notification supported by the
port.
Command
Explanation
Admin mode
show mac-notification summary
Show the configuration and the
data of MAC notification.
Command
Explanation
Admin mode
clear mac-notification statistics
Clear
the
statistics
of
MAC
notification trap.