Alcatel-Lucent 6600 Switch User Manual


 
Managing Source Learning Using Static MAC Addresses
OmniSwitch 6600 Family Network Configuration Guide April 2006 page 2-5
There are two types of static MAC address behavior supported: bridging (default) or filtering. Enter
filtering to set up a denial of service to block potential hostile attacks. Traffic sent to or from a filtered
MAC address is dropped. Enter bridging for regular traffic flow to or from the MAC address. For
more information about Layer 2 filtering, see Chapter 24, “Configuring QoS.”
If a packet received on a port associated with the same VLAN contains a source address that matches a
static MAC address, the packet is discarded. The same source address on different ports within the
same VLAN is not supported.
If a static MAC address is configured on a port link that is down or disabled, an asterisk appears to the
right of the MAC address in the show mac-address-table command display. The asterisk indicates
that this is an invalid MAC address. When the port link comes up, however, the MAC address is then
considered valid and the asterisk no longer appears next to the address in the display.
Configuring Static MAC Addresses
To configure a permanent, bridging static MAC address, enter mac-address-table followed by a MAC
address, slot/port, and the VLAN ID to assign to the MAC address. For example, the following assigns a
MAC address to port 10 on slot 4 associated with VLAN 255:
-> mac-address-table 00:02:DA:00:59:0C 4/10 255
Since permanent and bridging options for a static MAC are default settings, it is not necessary to enter
them as part of the command.
The following configures a filtered static MAC address that source learning will remove from the MAC
address table the next time the switch reboots:
-> mac-address-table reset 00:02:DA:00:59:0C 3/1 500 filtering
Use the no form of this command to clear MAC address entries from the table. If the MAC address status
type (permanent, reset, or learned) is not specified, then only permanent addresses are removed from the
table. The following example removes a MAC address entry with a reset status that is assigned on port 2
of slot 3 for VLAN 855 from the MAC address table:
-> no mac-address-table reset 00:00:02:CE:10:37 3/2 855
If a slot/port and VLAN ID are not specified when removing MAC address table entries, then all MACs
defined with the specified status are removed. For example, the following command removes all learned
MAC addresses from the table, regardless of their slot/port or VLAN assignments:
-> no mac-address-table learned
To verify static MAC address configuration and other table entries, use the show mac-address-table
command. For more information about this command, see the OmniSwitch CLI Reference Guide.