Configuration Guide User guide
FastIron Configuration Guide 563
53-1002494-02
VLAN-based static MAC entries configuration
VLAN-based static MAC entries configuration
You can configure a VLAN to drop packets that have a particular source or destination MAC
address.
You can configure a maximum of 2048 static MAC address drop entries on a Brocade device.
Use the CLI command show running-config to view the static MAC address drop entries currently
configured on the device.
Configuring a VLAN to drop static MAC entries
To configure a VLAN to drop packets with a source or destination MAC address of 1145.5563.67FF,
enter the following commands.
Brocade(config)#vlan 2
Brocade(config-vlan-2)#static-mac-address 1145.5563.67FF drop
Syntax: [no] static-mac-address <mac-addr> drop
Use the no form of the command to remove the static MAC address drop configuration.
Clearing MAC address entries
You can remove learned MAC address entries from the MAC address table. The types of MAC
address that can be removed are as follows:
• All MAC address entries
• All MAC address entries for a specified Ethernet port
• All MAC address entries for a specified VLAN
• All specified MAC address entry in all VLANs
For example, to remove entries for the MAC address 000d.cd80.00d0 in all VLANs, enter the
following command at the Privilege EXEC level of the CLI.
Brocade#clear mac-address 000d.cb80.00d0
Syntax: clear mac-address <mac-address> | ethernet <port-num> | vlan <vlan-num>
If you enter clear mac-address without any parameter, the software removes all MAC address
entries.
Use the <mac-address> parameter to remove a specific MAC address from all VLANs. Specify the
MAC address in the following format: HHHH.HHHH.HHHH.
Use the ethernet <port-num> parameter to remove all MAC addresses for a specific Ethernet port.
Use the vlan <num> parameter to remove all MAC addresses for a specific VLAN.