Specifications

28-14
Catalyst 2970 Switch Software Configuration Guide
78-15462-03
Chapter 28 Configuring EtherChannels
Configuring EtherChannels
To return the priority to its default setting, use the no pagp port-priority interface configuration
command. To return the learning method to its default setting, use the no pagp learn-method interface
configuration command.
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
interface interface-id Enter interface configuration mode, and specify the interface for
transmission.
Step 3
pagp learn-method physical-port Select the PAgP learning method.
By default, aggregation-port learning is selected, which means
the switch sends packets to the source by using any of the
interfaces in the EtherChannel. With aggregate-port learning, it
is not important on which physical port the packet arrives.
Select 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 as
described in the Configuring EtherChannel Load Balancing
section on page 28-12.
The learning method must be configured the same at both ends
of the link.
Step 4
pagp port-priority priority Assign a priority so that the selected interface is chosen for
packet transmission.
For priority, the range is 0 to 255. The default is 128. The higher
the priority, the more likely that the interface will be used for
PAgP transmission.
Step 5
end Return to privileged EXEC mode.
Step 6
show running-config
or
show pagp channel-group-number internal
Verify your entries.
Step 7
copy running-config startup-config (Optional) Save your entries in the configuration file.