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
Purpose
Command or Action
Enters the 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
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.
gigabitethernet2/0/1
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.
switchport mode
{
access
|
trunk
}
Example:
Switch(config-if)#
switchport
Step 3
If you configure the port as a static-access port, assign it to only one VLAN. The
range is 1 to 4094.
mode access
(Optional) If you configure the port as a static-access port, assign it to only one
VLAN. The range is 1 to 4094.
switchport access vlan vlan-id
Example:
Switch(config-if)#
switchport
Step 4
access vlan 22
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 24.
[
non-silent
] |
desirable
[
non-silent
] |
on
} | {
active
|
passive
}
For
mode
, select one of these keywords:
Example:
Switch(config-if)#
•
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)
343
How to Configure EtherChannels
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......