1 switchport mac-address dynamic maximum, Of port, mac in vlan and ip, Switchport mac – PLANET WGSW-50040 User Manual
Page 361: Address dynamic maximum

Commands for Security Function Chapter 6 Commands for TACACS+
Chapter 23 Commands for
the Number Limitation
Function of Port, MAC in
VLAN and IP
23.1 switchport mac-address dynamic maximum
Command:
switchport mac-address dynamic maximum
no switchport mac-address dynamic maximum
Function:
Set the max number of dynamic MAC address allowed by the port, and, at the same time, enable
the number limitation function of dynamic MAC address on the port; “no switchport mac-address
dynamic maximum” command is used to disable the number limitation function of dynamic MAC
address on the port.
Parameters:
<value> upper limit of the number of dynamic MAC address of the port, ranging from 1 to 4096.
Default Settings:
The number limitation function of dynamic MAC address on the port is disabled.
Command Mode:
Port mode.
Usage Guide:
When configuring the max number of dynamic MAC address allowed by the port, if the number of
dynamically learnt MAC address on the port is already larger than the max number of dynamic MAC
address to be set, the extra dynamic MAC addresses will be deleted. This function is mutually
exclusive to functions such as dot1x, MAC binding, if the functions of dot1x, MAC binding or TRUNK
are enabled on the port, this function will not be allowed.
Examples:
Enable the number limitation function of dynamic MAC address in port 1/2 mode, the max number
to be set is 20
Switch(config)#interface ethernet 1/2
Switch(Config-If-Ethernet1/2)# switchport mac-address dynamic maximum 20