pagp learn-method
To learn the source address of incoming packets received from an EtherChannel port, use the
pagp
learn-method
command in interface configuration mode. To return to the default setting, use the
no
form of
this command.
pagp learn-method
{
aggregation-port| physical-port
}
no pagp learn-method
Syntax Description
Specifies address learning on the logical port channel. The controller sends packets
to the source using any port in the EtherChannel. This setting is the default. With
aggregation-port learning, it is not important on which physical port the packet arrives.
aggregation-port
Specifies address learning on the physical port within the EtherChannel. The controller
sends packets to the source using the same port in the EtherChannel from which it
learned the source address. The other end of the channel uses the same port in the
channel for a particular destination MAC or IP address.
physical-port
Command Default
The default is aggregation-port (logical port channel).
Command Modes
Interface configuration
Command History
Modification
Release
This command was introduced.
Cisco IOS XE 3.2SE
Usage Guidelines
The learn method must be configured the same at both ends of the link.
The controller supports address learning only on aggregate ports even though the
physical-port
keyword is
provided in the command-line interface (CLI). The
pagp learn-method
and the
pagp port-priority
interface
configuration commands have no effect on the controller hardware, but they are required for PAgP
interoperability with devices that only support address learning by physical ports.
When the link partner to the controller is a physical learner, we recommend that you configure the controller
as a physical-port learner by using the
pagp learn-method physical-port
interface configuration command.
We also recommend that you set the load-distribution method based on the source MAC address by using the
port-channel load-balance src-mac
global configuration command. Use the
pagp learn-method
interface
configuration command only in this situation.
Layer 2/3 Command Reference, Cisco IOS XE Release 3E (Cisco WLC 5700 Series)
34
OL-32323-01
Layer 2/3 Commands
pagp learn-method