channel-group
With the on mode, a PAgP EtherChannel exists only when a port group in on mode is connected to
another port group in on mode.
You should use care when using the on mode. This is a manual configuration, and ports on both ends of
Caution
the EtherChannel must have the same configuration. If the group is misconfigured, packet loss or
spanning-tree loops can occur.
You cannot enable both PAgP and LACP modes on an EtherChannel group.
Note
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.
If IEEE 802.1x authentication is enabled on a not-yet active port of an EtherChannel in software releases
Note
earlier than Cisco IOS Release 12.2(25)SE, the port does not join the EtherChannel.
Do not configure a secure port as part of an EtherChannel.
Do not enable Layer 3 addresses on the physical EtherChannel interfaces. Do not assign bridge groups
Caution
on the physical EtherChannel interfaces because it creates loops.
Examples
This example shows how to assign two interfaces as static-access ports in VLAN 10 to channel 5 with
the PAgP mode desirable:
Switch# configure terminal
Switch(config)# interface range gigabitethernet0/4 -5
Switch(config-if-range)# switchport mode access
Switch(config-if-range)# switchport access vlan 10
Switch(config-if-range)# channel-group 5 mode desirable
Switch(config-if-range)# end
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 running-config privileged EXEC command.
Related Commands
Command
interface port-channel
show lacp
Catalyst 3550 Multilayer Switch Command Reference
2-34
Chapter 2
Description
Accesses or creates the port channel.
Display LACP information.
Catalyst 3550 Switch Cisco IOS Commands
OL-8566-02