Configuration Examples For Configuring Etherchannels - Cisco Catalyst 2960 series Configuration Manual

Consolidated platform configuration guide, ios release 15.2(4)e
Hide thumbs Also See for Catalyst 2960 series:
Table of Contents

Advertisement

Command
show lacp [ channel-group-number ] { counters |
internal | neighbor | sys-id}
show running-config
show etherchannel load-balance
Related Topics
Configuring the PAgP Learn Method and Priority , on page 348
PAgP Learn Method and Priority, on page 330
Configuring the LACP System Priority , on page 350
Configuring the LACP Port Priority , on page 351

Configuration Examples for Configuring EtherChannels

Configuring Layer 2 EtherChannels: Examples
This example shows how to configure an EtherChannel on a single switch in the stack. It assigns two ports
as 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 non-silent
Switch(config-if-range)# end
This example shows how to configure an EtherChannel on a single switch in the stack. It assigns two ports
as 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. It uses LACP passive mode and assigns
two ports on stack member 1 and one port on stack member 2 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
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
Configuration Examples for Configuring EtherChannels
Description
Displays LACP information such as traffic
information, the internal LACP configuration, and
neighbor information.
Verifies your configuration entries.
Displays the load balance or frame distribution
scheme among ports in the port channel.
359

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents