
Managing Source Learning Selecting the Source Learning Mode
OmniSwitch 6800/6850/9000 Network Configuration Guide June 2006 page 2-7
Selecting the Source Learning Mode
There are two types of source learning modes currently available: software and hardware. The software
mode performs all source learning using switch software. The hardware mode takes advantage of hard-
ware resources that are now available to perform source learning tasks. At the present time, it is possible
to select which mode is active for the chassis and/or a given set of ports.
By default, hardware source learning mode is active for the switch. The exception to this is that hardware
source learning is not supported on mobile or Learned Port Security (LPS) ports. As a result, only soft-
ware source learning is performed on these types of ports.
Selecting which source learning mode a port uses is configurable on a port-by-port or chassis-wide basis
using the source-learning command. For example, the following command selects the software source
learning mode for the entire chassis:
-> source-learning chassis software
When the above command is entered, all ports on the switch will use the software source learning mode,
unless they are configured to use a different mode. For example, the following command selects the hard-
ware source learning mode for ports 3/1 through 3/12:
-> source-learning 3/1-12 hardware
Note that in the above example, a range of port numbers is specified instead of using the chassis keyword.
This specifies that these ports are to use the hardware source learning mode, even though the software
mode is configured for the chassis. The port mode always takes precedence over the chassis mode.
Consider the following items when configuring the source learning mode:
• If a port is a member of a link aggregate, the source learning mode for the link aggregate applies,
which is the default mode for the chassis. Once that port is no longer a member of the aggregate, the
mode configured for that port is applied.
• When mobility is turned off for a port, the port reverts back to using the source learning mode that was
configured for that port. The same is true when an LPS configuration is removed from a port.
• Note that if LPS is disabled on a port but the LPS configuration is not removed, the port is still consid-
ered an LPS port and will only use the software source learning mode.
Comentarios a estos manuales