Alcatel-Lucent 6850-48 Guida Di Riferimento

Pagina di 3444
Source Learning Commands
page 17-12
OmniSwitch CLI Reference Guide
September 2009
source-learning
Configures the status of source MAC address learning on a single port, a range of ports, or on a link 
aggregate of ports.
source-learning {port slot/port1[-port2] | linkagg linkagg_num} {enable | disable}
Syntax Definitions
slot/port1
The slot number for the module and the physical port number on that 
module (e.g., 3/1 specifies port 1 on slot 3).
-port2
The last port number in a range of ports that you want to configure on 
the same slot (e.g, 3/1-4 specifies ports 1, 2, 3, and 4 on slot 3).
linkagg_num
Specifies the link aggregate port ID. 
enable
Enables source learning.
disable
Disables source learning.
Defaults
By default, source learning is enabled on all ports.
Platforms Supported
OmniSwitch 6400, 6850, 6855, 9000, 9000E
Usage Guidelines
• Configuring source learning is not supported on mobile ports, Learned Port Security ports, individual 
ports which are members of a link aggregate, or Access Guardian (802.1x) ports.
• When port-based source learning is configured for a link aggregate ID, it affects all the ports that are 
members of the link aggregate.
• When source-learning is disabled on a port or link aggregate, all dynamically learned MAC addresses 
are removed from the MAC address table.
• Static MAC addresses associated with a port or link aggregate are not cleared when source learning is 
disabled. Also, new static MAC address configurations are allowed on ports or link aggregates even 
when source learning is disabled on them.
• Disabling source learning on a port or link aggregate is useful on a ring configuration where switch A 
does not have to learn MAC addresses from switch B or for a Transparent LAN Service, where service 
provider does not require the MAC addresses of the Customer network.
Examples
-> source-learning port 1/2 disable
-> source-learning port 1/3-9 disable
-> source-learning linkagg 10 disable