Managing Source Learning
Using Static MAC Addresses
OmniSwitch 6624/6648 Network Configuration Guide
April 2004
page 2-5
•
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
.
Static MAC Addresses on Link Aggregate Ports
Static MAC Addresses are not assigned to physical ports that belong to a link aggregate. Instead, they are
assigned to a link aggregate ID that represents a collection of physical ports. This ID is specified at the
time the link aggregate of ports is created and when using the
mac-address-table-command
.
To configure a permanent, bridging static MAC address on a link aggregate ID, enter
mac-address-table
followed by a MAC address, then
linkagg
followed by the link aggregate ID, and the VLAN ID to assign
to the MAC address. For example, the following assigns a MAC address to link aggregate ID 2 associated
with VLAN 455:
-> mac-address-table 00:95:2A:00:3E:4C linkagg 2 455
For more information about configuring a link aggregate of ports, see
Chapter 10, “Configuring Static
Link Aggregation”
and
Chapter 11, “Configuring Dynamic Link Aggregation.”