Alcatel-Lucent 6850-48 网络指南

下载
页码 1162
Using Static MAC Addresses
Managing Source Learning
page 2-6
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
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.
Use the no form of this command to clear MAC address entries from the table. If the MAC address status 
type (permanent or learned) is not specified, then only permanent addresses are removed from the table. 
The following example removes a MAC address entry that is assigned on port 2 of slot 3 for VLAN 855 
from the MAC address table:
-> no mac-address-table 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 
 
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 
 and