Chapter 2
Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
pagp port-priority
Syntax Description
Defaults
Command Modes
Command History
Usage Guidelines
Note
Examples
OL-21522-02
Downloaded from
www.Manualslib.com
Use the pagp port-priority interface configuration command on the switch stack or on a standalone
switch to select a port over which all Port Aggregation Protocol (PAgP) traffic through the EtherChannel
is sent. If all unused ports in the EtherChannel are in hot-standby mode, they can be placed into operation
if the currently selected port and link fails. Use the no form of this command to return to the default
setting.
pagp port-priority priority
no pagp port-priority
priority
A priority number ranging from 0 to 255.
The default is 128.
Interface configuration
Release
12.2(53)SE2
The physical port with the highest priority that is operational and has membership in the same
EtherChannel is the one selected for PAgP transmission.
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, such as the
Catalyst 1900 switch.
When the link partner to the switch is a physical learner, we recommend that you configure the switch
as a physical-port learner by using the pagp learn-method physical-port interface configuration
command and to set the load-distribution method based on the source MAC address by using the
port-channel load-balance src-mac global configuration command. Use the pagp learn-method
interface configuration command only in this situation.
This example shows how to set the port priority to 200:
Switch(config-if)# pagp port-priority 200
You can verify your setting by entering the show running-config privileged EXEC command or the
show pagp channel-group-number internal privileged EXEC command.
manuals search engine
Modification
This command was introduced.
Catalyst 3750-X and 3560-X Switch Command Reference
pagp port-priority
2-427