channel-group
Examples
This example shows how to configure an EtherChannel that assigns two static-access ports in VLAN 10
to channel 5 with the PAgP mode desirable:
Switch# configure terminal
Switch(config)# interface range gigabitethernet0/1 -2
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 configure an EtherChannel that assigns two static-access ports in VLAN 10
to channel 5 with the LACP mode active:
Switch# configure terminal
Switch(config)# interface range gigabitethernet0/1 -2
Switch(config-if-range)# switchport mode access
Switch(config-if-range)# switchport access vlan 10
Switch(config-if-range)# channel-group 5 mode active
Switch(config-if-range)# end
You can verify your settings by entering the show running-config privileged EXEC command.
Related Commands
Command
channel-protocol
interface port-channel
show etherchannel
show lacp
show pagp
show running-config
Catalyst 2350 Switch Command Reference
2-20
Chapter 2
Description
Restricts the protocol used on a port to manage channeling.
Accesses or creates the port channel.
Displays EtherChannel information for a channel.
Displays LACP channel-group information.
Displays PAgP channel-group information.
Displays the operating configuration. For syntax information, use
this link to the Cisco IOS Release 12.2 Command Reference listing
page:
http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_
command_reference_list.html
Select the Cisco IOS Commands Master List, Release 12.2 to
navigate to the command.
Catalyst 2350 Switch Cisco IOS Commands
OL-19055-01