
The Number Limitation Function of MAC and IP in Port, VLAN Configuration
437
1. Enable the number limitation function of MAC and IP on ports
Command
Explanation
Port configuration mode
switchport mac-address dynamic maxi
mum
<value>
no switchport mac-address dynamic
maximum
Enable and disable the number
limitation function of MAC on the ports.
switchport arp dynamic maximum
<va
lue>
no switchport arp dynamic maximum
Enable and disable the number
limitation function of ARP on the ports.
switchport nd dynamic maximum
<val
ue>
no switchport nd dynamic maximum
Enable and disable the number
limitation function of ND on the ports.
2. Enable the number limitation function of MAC and IP in VLAN
Command
Explanation
VLAN configuration
mode
vlan mac-address dynamic maximum
<value>
no vlan mac-address dynamic maxim
um
Enable and disable the number
limitation function of MAC in the VLAN.
Interface configuration mode
ip arp dynamic maximum
<value>
no ip arp dynamic maximum
Enable and disable the number
limitation function of ARP in the VLAN.
ipv6 nd dynamic maximum
<value>
no ipv6 nd dynamic maximum
Enable and disable the number
limitation function of NEIGHBOR in the
VLAN.
3. Configure the timeout value of querying dynamic MAC
Command
Explanation
Global configuration mode
mac-address query timeout
<second
s>
Configure
the
timeout
value
of
querying dynamic MAC.
4. Configure the violation mode of ports
Command
Explanation
Port mode
switchport mac-address violation {prot
ect
|
shutdown} [recovery
<5-3600>
]
no switchport mac-address violation
Set the violation mode of the port, the
no command restores the violation
mode to
protect
.