Configuring a vlan to drop static mac entries, Clearing mac address entries, Flow-based mac address learning – Brocade FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide User Manual
Page 25
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 0000.0063.67FF,
enter the following commands.
device(config)#vlan 2
device(config-vlan-2)#static-mac-address 0000.0063.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 0000.0080.00d0 in all VLANs, enter the following
command at the Privilege EXEC level of the CLI.
device#clear mac-address 0000.0080.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.
Flow-based MAC address learning
NOTE
Flow-based MAC address learning is only supported on FastIron X Series devices.
This section describes flow-based MAC address learning and how to enable it on a FastIron X Series
switch.
Configuring a VLAN to drop static MAC entries
FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide
25
53-1003086-04