2-231
Catalyst 2950 and Catalyst 2955 Switch Command Reference
OL-10102-01
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands
pagp learn-method
pagp learn-method
Use the pagp learn-method interface configuration command to set the source-address learning method
of incoming packets received from an EtherChannel port. Use the no form of this command to return to
the default setting.
pagp learn-method aggregation-port
no pagp learn-method
Syntax Description
Note Though visible in the command-line help strings, the physical-port keyword is not supported.
Defaults The default is aggregation-port (logical port channel).
Command Modes Interface configuration
Command History
Usage Guidelines 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 affect on the switch hardware.
Note You should not set the learn method to physical-port because the switch is an aggregate-learning device.
If the link partner to the switch is a physical learner that has the channel-group interface configuration
command set to auto or desirable, the switch automatically uses the load-distribution method based on
the source-MAC address, regardless of the configured load-distribution method.
If the link partner to the switch is a physical learner that has the channel-group interface configuration
command set to on, set the load-distribution method based on the source-MAC address by using the
port-channel load-balance src-mac global configuration command.
aggregation-port Specify address learning on the logical port-channel. The switch transmits
packets to the source by using any of the interfaces in the EtherChannel. This
setting is the default. With aggregate-port learning, it is not important on
which physical port the packet arrives.
Release Modification
12.1(6)EA2 This command was introduced.