MAC clear Commands

Cluster-specific clear commands can be used to clear information about MAC addresses.

To clear all MAC addresses in the system, enter the clear mac command.

device# clear mac
Note: Depending on authentication protocols configuration and high traffic, the clear mac command log may create a lot of new address messages, which results in high CPU utilization for a few minutes.

To clear cluster-specific MAC addresses in the system, enter the clear mac cluster command.

device# clear mac cluster AGG-1 local

To clear client-specific MAC addresses in the system, enter the clear mac cluster command with client and local options.

device# clear mac cluster AGG-1 client 1 local

To clear VLAN-specific MAC addresses in the system, enter the clear mac vlan command.

device# clear mac vlan 2

To clear MCT VLAN-specific MAC addresses in the system, enter the clear mac cluster command with vlan and local options.

device# clear mac cluster AGG-1 vlan 1 local

To clear cluster client VLAN-specific MAC addresses in the system, enter the clear mac cluster command with vlan, client, and local options.

device# clear mac cluster AGG-1 vlan 2 client 1 local