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
Purpose
Command 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
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......