Chapter 2
Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands
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.
Syntax Description
aggregation-port
physical-port
Defaults
The default is aggregation-port (logical port channel).
Command Modes
Interface configuration
Command History
Release
12.2(52)EY
Usage Guidelines
When configuring pagp learn-method, learn must be configured to the same method at both ends of the
link.
•
•
You can verify the configuration by entering the show running-config privileged EXEC command or
the show pagp channel-group-number internal privileged EXEC command.
OL-28238-01
pagp learn-method {aggregation-port | physical-port}
no pagp learn-method
Specifies address learning on the logical port-channel. The switch sends
packets to the source using any of the ports in the EtherChannel. This setting
is the default. With aggregate-port learning, it is not important on which
physical port the packet arrives.
Specifies address learning on the physical port within the EtherChannel. The
switch 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.
Modification
This command was introduced.
The switch 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 switch hardware, but they are
required for PAgP interoperability with devices that only support address learning by physical ports.
When the link partner to the switch is a physical learner, we recommend that you configure the
switch as a physical-port learner. Use the pagp learn-method physical-port interface configuration
command, and set the load-distribution method based on the source MAC address by using the
port-channel load-balance src-mac global configuration command. Only use the pagp
learn-method interface configuration command in this situation.
Cisco ME 3800X and ME 3600X Switch Command Reference
pagp learn-method
2-201