How to Clear Mac Address Table on Cisco Switch?

Posted in  mac | 2022-03-22

MAC Learning Command Reference

To remove a specified address or set of addresses from the MAC address table, use the clear macaddresstable command in privileged EXEC mode. When no options are specified, all the dynamically added MAC addresses are cleared.

How do I Clear the ARP Table on a Cisco Switch?

To clear the Address Resolution Protocol ARP information, use the clear ip arp command. ipaddr Optional IPv4 source address. The format is x.x.x.x. slot/port Optional Specifies the Ethernet interface and the slot number and port number .

What does Clear MAC Address Table Do?

If the clear macaddresstable command is invoked with no options, all MAC addresses are removed. If you specify an address but do not specify an interface, the address is deleted from all interfaces.

How do you Flush a MAC Address Table?

To clear the dynamically learnt MAC Addresses, use the command clear mac-address-table in Privileged EXEC Mode.

How do I Remove a Sticky MAC Address from a Cisco Switch?

To delete all the sticky addresses on an interface or a VLAN, use the no switchport port-security sticky interface interface-id command. dynamic command. The address keyword enables you to clear a secure MAC addresses.

Cisco IOS - Show Mac-address-table