Cisco Catalyst 2960-XR Configuration Manual page 138

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

Advertisement

Configuring Layer 2 EtherChannels
SUMMARY STEPS
1. configure terminal
2. interface interface-id
3. switchport mode {access | trunk}
4. switchport access vlan vlan-id
5. channel-group channel-group-number mode {auto [non-silent] | desirable [non-silent ] | on } | { active
| passive}
6. end
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
Switch# configure terminal
Step 2
interface interface-id
Example:
Switch(config)# interface
gigabitethernet2/0/1
Step 3
switchport mode {access | trunk}
Example:
Switch(config-if)# switchport
mode access
Step 4
switchport access vlan vlan-id
Example:
Switch(config-if)# switchport
access vlan 22
Step 5
channel-group
channel-group-number mode {auto
[non-silent] | desirable [non-silent
] | on } | { active | passive}
Example:
Switch(config-if)#
Catalyst 2960-XR Switch Layer 2 Configuration Guide, Cisco IOS Release 15.0(2)EX1
124
Purpose
Enters the global configuration mode.
Specifies a physical port, and enters interface configuration mode.
Valid interfaces are physical ports.
For a PAgP EtherChannel, you can configure up to eight ports of the same type and
speed for the same group.
For a LACP EtherChannel, you can configure up to 16 Ethernet ports of the same
type. Up to eight ports can be active, and up to eight ports can be in standby mode.
Assigns all ports as static-access ports in the same VLAN, or configure them as
trunks.
If you configure the port as a static-access port, assign it to only one VLAN. The
range is 1 to 4094.
(Optional) If you configure the port as a static-access port, assign it to only one
VLAN. The range is 1 to 4094.
Assigns the port to a channel group, and specifies the PAgP or the LACP mode.
For channel-group-number, the range is 1 to 48.
For mode, select one of these keywords:
• auto —Enables PAgP only if a PAgP device is detected. It places the port into
a passive negotiating state, in which the port responds to PAgP packets it
receives but does not start PAgP packet negotiation. This keyword is not
Configuring EtherChannels
OL-29424-01

Advertisement

Table of Contents
loading

Table of Contents