DETAILED STEPS
PurposeCommand or Action
Enters global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 1
Specifies a physical port, and enters interface configuration mode.
interface interface-id
Step 2
Example:
Switch(config)# interface
gigabitethernet 1/0/2
Valid interfaces include 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.
Ensures that there is no IP address assigned to the physical port.no ip address
Example:
Switch(config-if)# no ip
address
Step 3
Puts the port into Layer 3 mode.no switchport
Example:
Switch(config-if)# no
switchport
Step 4
Assigns the port to a channel group, and specifies the PAgP or the LACP mode.channel-group
channel-group-number mode { auto
Step 5
For channel-group-number, the range is 1 to 48. This number must be that of a
previously created port channel (logical port).
[ non-silent ] | desirable [
non-silent ] | on } | { active |
passive }
For mode, select one of these keywords:
Example:
Switch(config-if)#
channel-group 5 mode auto
• 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
supported when EtherChannel members are from different switches in the
switch stack.
• desirable—Unconditionally enables PAgP. It places the port into an active
negotiating state, in which the port starts negotiations with other ports by
sending PAgP packets. This keyword is not supported when EtherChannel
members are from different switches in the switch stack.
• on—Forces the port to channel without PAgP or LACP. In the on mode, an
EtherChannel exists only when a port group in the on mode is connected to
another port group in the on mode.
• non-silent—(Optional) If your switch is connected to a partner that is PAgP
capable, configures the switch port for nonsilent operation when the port is in
Catalyst 2960-XR Switch Layer 2 Configuration Guide, Cisco IOS Release 15.0(2)EX1
128 OL-29424-01
Configuring EtherChannels
Configuring Layer 3 EtherChannels