Brocade FastIron X Series Chassis Hardware Installation Guide
101
53-1001723-02
Removing MAC address entries
4
Removing MAC address entries
You can remove learned MAC address entries from the Brocade system’s MAC address table. You
can remove the following:
•
All MAC address entries.
•
All MAC address entries for a specified Ethernet port.
•
All MAC address entries for a specified VLAN.
•
A specified MAC address entry in all VLANs.
For example, to remove entries for the MAC address 000d.cb80.00d in all VLANs, enter the
following command at the Privileged EXEC level of the CLI.
FastIron# clear mac-address 000d.cb80.00d0
Syntax: clear mac-address <
mac-address
> | ethernet <
slot
>/<
port
> | vlan <
number
>
If you enter the clear mac-address command without any parameters, the software removes all
MAC entries.
Use the <
mac-address
> variable to remove a specified MAC address from all VLANs. Specify the
MAC address in the following format: HHHH.HHHH.HHHH.
Use the ethernet <
slot
>/<
port
> variable to remove all MAC addresses for a specified Ethernet port.
For the <slot> parameter, enter the number of the chassis slot in which the Ethernet interface
module is installed. For the <port> parameter, enter the Ethernet port whose MAC address you
want to remove.
Use the vlan <number> parameter to remove all MAC addresses for a specified VLAN.