37-13
Catalyst 2975 Switch Software Configuration Guide
OL-19720-02
Chapter 37 Configuring EtherChannels and Link-State Tracking
Configuring EtherChannels
–
An EtherChannel supports the same allowed range of VLANs on all the ports in a trunking
Layer 2 EtherChannel. If the allowed range of VLANs is not the same, the ports do not form an
EtherChannel even when PAgP is set to the
auto
or
desirable
mode.
–
Ports with different spanning-tree path costs can form an EtherChannel if they are otherwise
compatibly configured. Setting different spanning-tree path costs does not, by itself, make ports
incompatible for the formation of an EtherChannel.
•
For cross-stack EtherChannel configurations, ensure that all ports targeted for the EtherChannel are
either configured for LACP or are manually configured to be in the channel group using the
channel-group
channel-group-number
mode on
interface configuration command. The PAgP
protocol is not supported on cross- stack EtherChannels.
•
If cross-stack EtherChannel is configured and the switch stack partitions, loops and forwarding
misbehaviors can occur.
Configuring Layer 2 EtherChannels
You configure Layer 2 EtherChannels by assigning ports to a channel group with the
channel-group
interface configuration command. This command automatically creates the port-channel logical
interface.
If you enabled PAgP on a port in the
auto
or
desirable
mode, you must reconfigure it for either the
on
mode or the LACP mode before adding this port to a cross-stack EtherChannel. PAgP does not support
cross-stack EtherChannels.
Beginning in privileged EXEC mode, follow these steps to assign a Layer 2 Ethernet port to a Layer 2
EtherChannel. This procedure is required.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
interface
interface-id
Specify a physical port, and enter interface configuration mode.
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.
Step 3
switchport mode
{
access
|
trunk
}
switchport access vlan
vlan-id
Assign 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.
Содержание 2975 - Catalyst LAN Base Switch
Страница 36: ...Contents xxxvi Catalyst 2975 Switch Software Configuration Guide OL 19720 02 ...
Страница 40: ...xxxviii Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Preface ...
Страница 62: ...1 22 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 1 Overview Where to Go Next ...
Страница 398: ...13 30 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 13 Configuring VLANs Configuring VMPS ...
Страница 424: ...15 18 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 15 Configuring VTP Monitoring VTP ...
Страница 628: ...26 8 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 26 Configuring UDLD Displaying UDLD Status ...
Страница 660: ...28 8 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 28 Configuring RMON Displaying RMON Status ...
Страница 888: ...38 32 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 38 Troubleshooting Troubleshooting Tables ...