2-37
Cisco ME 3800X and ME 3600X Switch Command Reference
OL-28238-01
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands
clear mac address-table
clear mac address-table
To delete a specific dynamic address from the MAC address table, all dynamic addresses on a particular
interface, or all dynamic addresses on a particular VLAN, use the clear mac address-table command
in privileged EXEC mode. This command also clears the MAC address notification global counters.
clear mac address-table {dynamic [address mac-addr | bridge-domain number3 | interface
interface-id | vlan vlan-id] | move update | notification}
Syntax Description
Defaults No default is defined.
Command Modes Privileged EXEC
Command History
Examples This example shows how to remove a specific MAC address from the dynamic address table:
Switch# clear mac address-table dynamic address 0008.0070.0007
You can verify that any information was deleted by entering the show mac address-table privileged
EXEC command.
This example shows how to clear the mac address-table move update related counters.
Switch# clear mac address-table move update
You can verify that the information was cleared by entering the show mac address-table move update
privileged EXEC command.
dynamic Deletes all dynamic MAC addresses.
dynamic address
mac-addr
(Optional) Deletes the specified dynamic MAC address.
dynamic bridge-domain
number
(Optional) Deletes all dynamic MAC addresses for the bridge domain.
The domain number range from 1 to 8000.
dynamic interface
interface-id
(Optional) Deletes all dynamic MAC addresses on the specified physical
port or port channel.
dynamic vlan vlan-id (Optional) Deletes all dynamic MAC addresses for the specified VLAN.
The range is 1 to 4096.
move update Clears the MAC address move update related counters.
notification Clears the notifications in the history table and reset the counters.
Release Modification
12.2(52)EY This command was introduced.