Configuration Guide MAC Address Configuration
Viewing Configurations
Ruijie)#show mac-address-table
aging-time
Show the aging time of all addresses.
The following example shows how to view the address aging time
configurations:
Ruijie#show mac-address-table aging-time
Aging time : 180 seconds
The actual aging time may be different from the setting value for
the MAC address table. However, it will not be 2 times than the
setting value.
Setting the Limit of Dynamic Addresses for a VLAN
Setting the Limit of Dynamic Addresses for a VLAN
You can set the limit of dynamic MAC addresses that a VLAN can learn.
The table below sets the limit of the dynamic addresses for a VLAN.
Ruijie# configure terminal
Enter the global configuration mode.
Ruijie(config)# vlan [1-4094]
Enter the VLAN configuration mode.
Ruijie(config-vlan)#
max-dynamic-mac-count [1-32768]
Set the maximum number of dynamic
MAC addresses that the VLAN can
learn.
To disable the limit of the dynamic addresses for a VLAN, use the no
max-dynamic-mac-count command.
The following example shows how to set the maximum dynamic address
number to 160:
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
Viewing Configurations
Show the maximum number of dynamic addresses for a specified VLAN:
Ruijie#show mac-address-table max-dynamic-mac-count vlan 1
vlan limit mac count learning
---- ------- --------- --------