
42-203
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
42.16 switchport nd dynamic maximum
Command:
switchport nd dynamic maximum
<value>
no switchport nd dynamic maximum
Function:
Set the max number of dynamic NEIGHBOR allowed by the port, and, at the same time, enable the number limitation
function of dynamic NEIGHBOR
on the port; “
no switchport nd dynamic maximum
” command is used to disable
the number limitation function of dynamic NEIGHBOR on the port.
Parameters:
<
value>
upper limit of the number of dynamic NEIGHBOR of the port, ranging from 1 to 4096.
Default Settings:
The number limitation function of dynamic ARP on the port is disabled.
Command Mode:
Port mode.
Usage Guide:
When configuring the max number of dynamic NEIGHBOR allowed by the port, if the number of dynamically learnt
NEIGHBOR on the port is already larger than the max number to be set, the extra dynamic NEIGHBOR will be
deleted. TRUNK ports do not supports this function.