mac
401
number to be set is 20
Switch(config)#interface ethernet 1/2
Switch(Config-If-Ethernet1/2)# switchport mac-address dynamic maximum 20
Disable the number limitation function of dynamic MAC address in port 1/2 mode
Switch(Config-If-Ethernet1/2)#no switchport mac-address dynamic maximum
26.6 switchport mac-address violation
Command: switchport mac-address violation {protect | shutdown} [recovery
<5-3600>]
no switchport mac-address violation
Function: Set the violation mode of the port, the no command restores the violation mode
to protect.
Parameters: protect: protect mode
shutdown: shutdown mode
recovery: Configure the border port to automatically restore after execute
shutdown violation mode
<5-3600>: Recovery time, do not restore by default
Command Mode: Port mode
Default: protect mode
Usage Guide: The port sets the violation mode after enable the number limit function of
MAC only. If the violation mode is protect, the port only disable the dynamic MAC address
learning function when the MAC address number of the port exceeds the upper limit of
secure MAC. If the violation mode is shutdown, the port will be disabled when the MAC
address number exceeds the upper limit of secure MAC, and the user can enable the port
by configuring no shutdown command manually or the automatic recovery timeout.
Example: Set the violation mode as shutdown, the recovery time as 60s for port1.
Switch(config)#interface Ethernet 1/1
Switch(Config-If-Ethernet1/1)#switchport mac-address violation shutdown recovery 60
26.7 vlan mac-address dynamic maximum
This command is not supported by switch.










