2-32
Catalyst 2950 and Catalyst 2955 Switch Command Reference
OL-10102-01
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands
channel-group
In this case, running PAgP on a physical port prevents that port from ever becoming operational;
however, it allows PAgP to operate, to attach the interface to a channel group, and to use the interface
for transmission. Both ends of the link cannot be set to silent.
Note You cannot enable both PAgP and LACP modes on an EtherChannel group.
Caution You should use care when using the on mode. This is a manual configuration, and ports on both ends of
the EtherChannel must have the same configuration. If the group is misconfigured, packet loss or
spanning-tree loops can occur.
Do not configure a port that is an active or a not-yet-active member of an EtherChannel as an
IEEE 802.1x port. If you try to enable IEEE 802.1x authentication on an EtherChannel port, an error
message appears, and IEEE 802.1x authentication is not enabled.
Examples This example shows how to add an interface to the EtherChannel group specified as channel group 1:
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# channel-group 1 mode on
This example shows how to set an Etherchannel into PAgP mode:
Switch(config-if)# channel-group 1 mode auto
Creating a port-channel interface Port-channel 1
This example shows how to set an Etherchannel into LACP mode:
Switch(config-if)# channel-group 1 mode passive
Creating a port-channel interface Port-channel 1
You can verify your settings by entering the show etherchannel or show running-config privileged
EXEC command.
Related Commands Command Description
interface port-channel Accesses or creates the port channel.
port-channel
load-balance
Sets the load distribution method among the ports in the EtherChannel.
show etherchannel Displays EtherChannel information for a channel.
show running-config Displays the configuration information running on the switch. For syntax
information, select Cisco IOS Configuration Fundamentals Command
Reference for Release 12.1 > Cisco IOS File Management Commands >
Configuration File Commands.