mac

Commands for MAC Address Table Configuration
217
Default: The port violation mode is protect by default.
Usage Guide: The port violation mode configuration is only available after the MAC
address binding function is enabled. when the port secure MAC address exceeds the
security MAC limit, if the violation mode is protect, the port only disable the dynamic
MAC address learning function; while the port will be shut if at shutdown mode. Users
can manually open the port with no shutdown command.
Example: Set the violation mode of port 1 to shutdown.
Switch(config)#interface Ethernet 1/1
Switch(Config-If-Ethernet1/1)#switchport port-security violation shutdown recovery 60
16.3 Commands for MAC Notification
16.3.1 clear mac-notification statistics
Command: clear mac-notification statistics
Function: Clear the statistics of MAC notification trap.
Parameter: None.
Default: None.
Command Mode: Admin mode
Usage Guide: When this command is used with show command, it is able to check the
executive result by show command after executing this command.
Example:
Switch# clear mac-notification statistics
16.3.2 mac-address-table notification
Command: mac-address-table notification
no mac-address-table notification
Function: Enable the MAC address notification globally, the no command disables the
global MAC address notification.
Parameter: None.
Default: Disable.
Command Mode: Global mode
Usage Guide: This command is used with trap switch of snmp. When disabling the MAC
address notification, other configuration can be shown, but the function is invalid.
Example: Enable the MAC address notification.