Command Reference MAC Address Commands
2 MAC Address Commands
2.1 clear mac-address-table dynamic
Use this command to clear the dynamic MAC address.
clear mac-address-table dynamic [ address mac-addr [ interface interface-id ] [ vlan vlan-id ] |
{ [ interface interface-id ] [ vlan vlan-id ] } ]
Clears all the dynamic MAC addresses.
Clears the specified dynamic MAC address.
Clears all the dynamic MAC addresses of the specified
interface.
Clears all the dynamic MAC addresses of the specified VLAN,
in the range from 1 to 4094.
Use the show mac-address-table dynamic command to display all the dynamic MAC addresses.
The following command clears all the dynamic MAC addresses.
Ruijie# clear mac-address-table dynamic
show mac-address-table dynamic
Displays dynamic MAC address.
Use this command to enable the port address learning. Use the no or default form of this command
to restore the default setting.
no mac-address-learning
default mac-address-learning