channel-protocol
channel-protocol
Use the channel-protocol interface configuration command to restrict the protocol used on a port to
manage channeling. Use the no form of this command to return to the default setting.
Syntax Description
lacp
pagp
Defaults
No protocol is assigned to the EtherChannel.
Command Modes
Interface configuration
Command History
Release
12.2(25)FX
Usage Guidelines
Use the channel-protocol command only to restrict a channel to LACP or PAgP. If you set the protocol
by using the channel-protocol command, the setting is not overridden by the channel-group interface
configuration command.
You must use the channel-group interface configuration command to configure the EtherChannel
parameters. The channel-group command also can set the mode for the EtherChannel.
You cannot enable both the PAgP and LACP modes on an EtherChannel group.
PAgP and LACP are not compatible; both ends of a channel must use the same protocol.
Examples
This example shows how to specify LACP as the protocol that manages the EtherChannel:
Switch(config-if)# channel-protocol lacp
You can verify your settings by entering the show etherchannel [channel-group-number] protocol
privileged EXEC command.
Related Commands
Command
channel-group
show etherchannel
Catalyst 2960 Switch Command Reference
2-28
channel-protocol {lacp | pagp}
no channel-protocol
Configure an EtherChannel with the Link Aggregation Control Protocol (LACP).
Configure an EtherChannel with the Port Aggregation Protocol (PAgP).
Modification
This command was introduced.
protocol
Chapter 2
Description
Assigns an Ethernet port to an EtherChannel group.
Displays protocol information the EtherChannel.
Catalyst 2960 Switch Cisco IOS Commands
78-16882-01