hit counter script

Cisco Catalyst 2960-X Command Reference Manual page 28

Layer 2
Hide thumbs Also See for Catalyst 2960-X:
Table of Contents

Advertisement

channel-group
Do not assign bridge groups on the physical EtherChannel ports because it creates loops.
Caution
Examples
This example shows how to configure an EtherChannel on a single switch in the stack. It assigns two
static-access ports in VLAN 10 to channel 5 with the PAgP mode desirable:
Switch# configure terminal
Switch(config)# interface range gigabitethernet2/0/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 on a single switch in the stack. It assigns two
static-access ports in VLAN 10 to channel 5 with the LACP mode active:
Switch# configure terminal
Switch(config)# interface range gigabitethernet2/0/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
This example shows how to configure a cross-stack EtherChannel in a switch stack. It uses LACP passive
mode and assigns two ports on stack member 2 and one port on stack member 3 as static-access ports in VLAN
10 to channel 5:
Switch# configure terminal
Switch(config)# interface range gigabitethernet2/0/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 passive
Switch(config-if-range)# exit
Switch(config)# interface gigabitethernet3/0/3
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan 10
Switch(config-if)# channel-group 5 mode passive
Switch(config-if)# exit
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
Catalyst 2960-X Switch Layer 2 Command Reference, Cisco IOS Release 15.0(2)EX
22
Description
Restricts the protocol used on a port to manage channeling.
Accesses or creates a port channel.
Displays EtherChannel information for a channel.
Displays LACP channel-group information.
Displays Port Aggregation Protocol (PAgP) channel-group
information.
Layer 2 Commands
OL-29043 -01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents