Command Reference MAC Address Commands
show mac-address-table static
Displays the static MAC address.
2.8 max-dynamic-mac-count
Use this command to set the maximum number of MAC address learned dynamically on the VLAN or
interface. Use the no or default form of this command to restore the default setting.
max-dynamic-mac-count num
default max-dynamic-mac-count
Sets the maximum number of MAC addresses.
The maximum number is not set by default.
VLAN configuration mode / Interface configuration mode
This command is used to set the maximum number of MAC addresses learned dynamically on the
VLAN or interface.
If the number of MAC addresses dynamically learned on the VLAN or interface reaches the upper
limit, MAC address learning is disabled on the VLAN or interface.
If the number of MAC addresses reaches the upper limit when this command is configured, the
surplus MAC addresses are not cleared. Instead, they remain and then age. MAC address learning is
disabled on the VLAN or interface.
Use the show mac-address-table max-dynamic-mac-count command to display the maximum
number of MAC addresses learned dynamically on the VLAN or interface.
The following example sets the maximum number of MAC addresses dynamically learned on VLAN
1.
Ruijie#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)#vlan 1
Ruijie(config-vlan)#max-dynamic-mac-count 160
The following example sets the maximum number of MAC addresses dynamically learned on