Consolidated Platform Configuration Guide, Cisco Ios Release 15.2(4)E (Catalyst 2960-X Switches - 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

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)#
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 24.
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

Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)

How to Configure EtherChannels
343

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents