Configuring the PAgP Learn Method and Priority
This task is optional.
SUMMARY STEPS
1.
configure terminal
2.
interface interface-id
3.
pagp learn-method physical-port
4.
pagp port-priority priority
5.
end
DETAILED STEPS
PurposeCommand or Action
Enters global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 1
Specifies the port for transmission, and enters interface configuration
mode.
interface interface-id
Example:
Switch(config)# interface
Step 2
gigabitethernet 1/0/2
Selects the PAgP learning method.pagp learn-method physical-port
Step 3
Example:
Switch(config-if)# pagp learn-method
By default, aggregation-port learning is selected, which means the
switch sends packets to the source by using any of the ports in the
EtherChannel. With aggregate-port learning, it is not important on which
physical port the packet arrives.
physical port
Selects physical-port to connect with another switch that is a physical
learner. Make sure to configure the port-channel load-balance global
configuration command to src-mac.
The learning method must be configured the same at both ends of the
link.
Assigns a priority so that the selected port is chosen for packet
transmission.
pagp port-priority priority
Example:
Switch(config-if)# pagp port-priority
Step 4
For priority, the range is 0 to 255. The default is 128. The higher the
priority, the more likely that the port will be used for PAgP transmission.
200
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
348
How to Configure EtherChannels