clear mac-address

Clears the MAC addresses.
Syntax
clear mac-address [ mac-address | ethernet unit/slot/port | lag lag-id | vlan vlan-id ]
Parameters
mac-address
Clears entries in all VLANs with the specified MAC address.
ethernet unit/slot/port
Clears the entries on the specified port.
lag lag-id
Specifies the LAG virtual interface.
vlan vlan-id
Clears all entries in a VLAN.
Modes

Privileged EXEC mode

Global configuration mode

Cluster configuration mode

Examples

The following example shows how to clear the MAC address of a specific VLAN.

device# clear mac-address vlan 2

The following example shows how to clear all MAC addresses in the system.

device# clear mac-address
History
Release version Command history
08.0.40 The mdup-stats option was removed as it was supported only on FSX devices.
08.0.61 This command was modified to add lag lag-id options.