CLI ReferenceInterface Configuration Commands MAC Address Configuration Commands
The MAC address learning could not be disabled on the interface with
the security function enabled. The interface with the MAC address
learning function disabled could not be configured the security
function.
The following example disables the MAC address learning.
Ruijie(config-if)# no mac-address-learning
mac-address-table aging-time
Use this command to specify the aging time of the dynamic MAC address. Use the no form of the
command to restore it to the default setting.
mac-address-table aging-time seconds
no mac-address-table aging-time
Aging time of the dynamic MAC address (in
seconds). The time range depends on the
switch.
Global configuration mode.
Use show mac-address-table aging-time to display
configuration.
Use show mac-address-table dynamic to display the dynamic MAC
address table.
Ruijie(config)# mac-address-table aging-time 150
show
mac-address-table
aging-time
Use this command to display the aging time
of the dynamic MAC address.
show
mac-address-table
dynamic
Use this command to display dynamic MAC
address.