The undo mac-address all command deletes the static, dynamic, and blackhole MAC address entries.
| Parameter | Description | Value |
|---|---|---|
interface-type interface-number |
Specifies the type and number of the interface. |
The interface can be a GE interface, or an Eth-Trunk interface. |
vlan-id |
Specifies the ID of a VLAN. |
The value is an integer that ranges from 1 to 4094. |
To delete the previous MAC address entries, you can run the following commands.
The undo mac-address all vlan command deletes all the VLAN-based MAC address entries.
The undo mac-address all interface-type interface-number command deletes all the port-based MAC address entries.
The undo mac-address all interface-type interface-number vlan command deletes all the port-based and VLAN-based MAC address entries. The interface specified in interface-type interface-number must reside in the VLAN specified in vlan. To delete the MAC address entries successfully, you must create the VLAN first.
If no parameter is specified, all the MAC entries of the system are displayed.