|
|
This chapter describes how to configure Fast EtherChannel and Gigabit EtherChannel. The configuration tasks in this chapter apply to Ethernet, Fast Ethernet, and Gigabit Ethernet switch ports on switching modules and fixed-configuration switches, as well as to supervisor engine Fast Ethernet and Gigabit Ethernet uplink ports.
This chapter consists of these sections:
Fast EtherChannel provides parallel bandwidth of up to 800 Mbps (400-Mbps full duplex) between a switch and a router, host, or another switch by grouping multiple Fast Ethernet interfaces into a single logical transmission path.
Fast EtherChannel segments must be contiguous ports on a Fast EtherChannel-capable Fast Ethernet switching module. You can configure Fast Ethernet ports into Fast EtherChannel groups containing two or four ports, yielding 400- or 800-Mbps bidirectional bandwidth, respectively.
Gigabit EtherChannel provides parallel bandwidth of up to 8 Gbps (4 Gbps full duplex) between a switch and a router, host, or another switch by grouping multiple Gigabit Ethernet interfaces into a single logical transmission path.
You can configure Gigabit Ethernet ports into Gigabit EtherChannel groups containing two or four ports, yielding 4- or 8-Gbps bidirectional bandwidth, respectively.
Both Fast and Gigabit EtherChannel bundles can be configured as trunk links. For more information, refer to the "EtherChannel Configuration Guidelines and Restrictions" section and to "Configuring VLAN Trunks on Fast Ethernet and Gigabit Ethernet Ports."
The Port Aggregation Protocol (PAgP) facilitates the automatic creation of Fast EtherChannel and Gigabit EtherChannel links by exchanging packets between channel-capable ports. The protocol learns the capabilities of port groups dynamically and informs the neighboring ports.
Once PAgP identifies correctly paired channel-capable links, it groups the ports into a channel. The channel is then added to the spanning tree as a single bridge port. The channeled ports are treated as a single switch port. A given outbound broadcast or multicast packet is transmitted out one port in the channel only, not out every port in the channel. In addition, outbound broadcast and multicast packets transmitted on one port in a channel are blocked from returning on any other port of the channel.
There are four user-configurable channel modes: on, off, auto, and desirable. PAgP packets are exchanged only between ports in auto and desirable mode. Ports configured in on or off mode do not exchange PAgP packets. By default, ports are in auto mode. Table 6-1 describes each mode.
| Mode | Description |
|---|---|
on | Forces the port to channel without negotiation. PAgP packets are not exchanged. The port is channeling regardless of how the peer port is configured. If the peer port is in on mode, a channel is formed. In any other mode, the peer port is placed in the errdisable state due to a channel misconfiguration. |
off | Prevents the port from channeling. PAgP packets are not exchanged. The port is not channeling regardless of how the peer port is configured. No channel is formed. |
auto | Places a port into a passive negotiating state, in which the port responds to PAgP packets it receives but does not initiate PAgP packet negotiation. A channel is formed only with another port group in desirable mode. (Default) |
desirable | Places a port into an active negotiating state, in which the port initiates negotiations with other ports by sending PAgP packets. A channel is formed with another port group in either desirable or auto mode. |
Both the auto and desirable modes allow ports to negotiate with connected ports to determine if they can form a channel, based on criteria such as port speed, trunking state, native VLAN, and so on.
Channel ports can be in different channel modes as long as the modes are compatible. A port in desirable mode can form a channel successfully with another port that is in desirable or auto mode. Similarly, a port in auto mode can form a channel with another port in desirable mode.
A port in auto mode cannot form a channel with another port that is also in auto mode, since neither port will initiate negotiation. In addition, a port in on mode can form a channel only with a port in on mode, because ports in on mode do not exchange PAgP packets.
If a segment within a channel fails, traffic previously carried over the failed link switches to the remaining segments within the channel. A trap is sent upon a failure identifying the switch, the channel, and the failed link.
Channels are configured using the standard CLI or Simple Network Management Protocol (SNMP).
Table 6-2 shows the Fast EtherChannel and Gigabit EtherChannel default configuration.
| Feature | Default Value |
|---|---|
Fast EtherChannel | auto mode on Fast Ethernet ports |
Gigabit EtherChannel | auto mode on Gigabit Ethernet ports |
EtherChannel support is hardware-dependent. To determine whether your hardware supports EtherChannel, use the show port capabilities command.
These sections describe restrictions that apply and guidelines to follow when configuring Fast or Gigabit EtherChannel:
If improperly configured, some Fast EtherChannel or Gigabit EtherChannel ports are disabled automatically to avoid network loops and other problems. Use the following guidelines to avoid configuration problems:
On all Fast EtherChannel-capable hardware, port groups determine which ports can form a channel. Channels must be composed of contiguous ports from the same port group. A channel cannot have some ports from one group and some ports from another. However, you can configure multiple channels within a single group.
On modules with two EtherChannel-capable ports, the ports form one group of two ports. On modules with four or more ports, the ports form one or more four-port groups. Use the show port capabilities command to determine the port groups on your hardware.
On modules with two channel-capable ports, the group of two ports can be channeled in any of the following ways:
On modules with four or more channel-capable ports, each group of four ports can be channeled in any the following ways:
On all Gigabit EtherChannel-capable hardware, port groups determine which ports can form a channel. Channels must be composed of contiguous ports from the same port group. A channel cannot have some ports from one group and some ports from another. However, you can configure multiple channels within a single group.
On modules with two EtherChannel-capable ports, the ports form one group of two ports. On modules with four or more ports, the ports form one or more four-port groups. Use the show port capabilities command to determine the port groups on your hardware.
On these modules, the ports are grouped as follows:
On modules with two channel-capable ports, the group of two ports can be channeled in any of the following ways:
On modules with four or more channel-capable ports, each group of four ports can be channeled in any the following ways:
These sections describe how to configure an EtherChannel bundle:
To configure a Fast EtherChannel or Gigabit EtherChannel bundle, perform this task in privileged mode:
| Task | Command |
|---|---|
Step 1 If you are unsure which ports you can channel or how the ports are grouped, verify the port groups for the module or switch you are configuring. | show port capabilities [mod_num[/port_num]] |
Step 2 Make sure that the ports you want to channel are configured correctly. (Refer to the "EtherChannel Configuration Guidelines and Restrictions" section.) |
|
Step 3 Create a channel on the desired ports. | set port channel mod_num/ports {on | off | auto | desirable} |
Step 4 Verify the channeling configuration. | show port channel [mod_num[/port_num]] [info | statistics] |
This example shows how to create a two-port Fast EtherChannel bundle and verify the configuration:
Console> (enable) set port channel 1/1-2 on
Port(s) 1/1-2 channel mode set to on.
Console> (enable) 06/30/1998,17:09:32:PAGP-5:Port 1/1 left bridge port 1/1.
06/30/1998,17:09:32:PAGP-5:Port 1/2 left bridge port 1/2.
06/30/1998,17:09:33:PAGP-5:Port 1/1 joined bridge port 1/1-2.
06/30/1998,17:09:33:PAGP-5:Port 1/2 joined bridge port 1/1-2.
Console> (enable) show port channel
Port Status Channel Channel Neighbor Neighbor
mode status device port
----- ---------- --------- ----------- ------------------------- ----------
1/1 connected on channel WS-C2926 007475320 1/1
1/2 connected on channel WS-C2926 007475320 1/2
----- ---------- --------- ----------- ------------------------- ----------
Console> (enable)
To return a Fast EtherChannel or Gigabit EtherChannel bundle to its default configuration, perform this task in privileged mode:
| Task | Command |
|---|---|
Step 1 Return a channel to its default configuration (you must perform this task on both sides of the channel). | set port channel port_list auto |
Step 2 Verify the configuration. | show port channel [mod_num[/port_num]] [info | statistics] |
This example shows how to return a channel to its default configuration and how to verify the configuration:
Console> (enable) set port channel 1/1-2 auto Port(s) 1/1-2 channel mode set to auto. Console> (enable) show port channel No ports channelling Console> (enable)
These sections contain Fast and Gigabit EtherChannel configuration examples:
This example configuration shows how to configure a four-port Fast EtherChannel link between two switches. Figure 6-1 shows two switches connected through four 100BaseTX Fast Ethernet ports.

Step 1 Make sure that all ports on Switch A and Switch B have the same port configuration, including VLAN membership, speed, and duplex.
Switch_A> (enable) set vlan 50 1/1-4
VLAN 50 modified.
VLAN 1 modified.
VLAN Mod/Ports
---- -----------------------
50 1/1-4
2/1-2
3/1-3
Switch_A> (enable) set port speed 1/1-4 100
Ports 1/1-4 transmission speed set to 100Mbps.
Switch_A> (enable) set port duplex 1/1-4 full
Ports 1/1-4 set to full-duplex.
Switch_A> (enable)
Switch_B> (enable) set vlan 50 3/1-4
VLAN 50 modified.
VLAN 1 modified.
VLAN Mod/Ports
---- -----------------------
50 3/1-4
Switch_B> (enable) set port speed 3/1-4 100
Ports 3/1-4 transmission speed set to 100Mbps.
Switch_B> (enable) set port duplex 3/1-4 full
Ports 3/1-4 set to full-duplex.
Switch_B> (enable)
Step 2 You can confirm the channeling status of the switches using the show port channel command.
Switch_A> (enable) show port channel No ports channelling Switch_A> (enable) Switch_B> (enable) show port channel No ports channelling Switch_B> (enable)
Step 3 Configure the ports on Switch A to negotiate a Fast EtherChannel bundle with the neighboring switch. This example assumes that the neighboring ports on Switch B are in EtherChannel auto mode. The system logging messages provide information about the formation of the EtherChannel bundle.
Switch_A> (enable) set port channel 1/1-4 desirable Port(s) 1/1-4 channel mode set to desirable. Switch_A> (enable) %PAGP-5-PORTFROMSTP:Port 1/1 left bridge port 1/1 %PAGP-5-PORTFROMSTP:Port 1/2 left bridge port 1/2 %PAGP-5-PORTFROMSTP:Port 1/3 left bridge port 1/3 %PAGP-5-PORTFROMSTP:Port 1/4 left bridge port 1/4 %PAGP-5-PORTFROMSTP:Port 1/2 left bridge port 1/2 %PAGP-5-PORTFROMSTP:Port 1/3 left bridge port 1/3 %PAGP-5-PORTFROMSTP:Port 1/4 left bridge port 1/4 %PAGP-5-PORTTOSTP:Port 1/1 joined bridge port 1/1-4 %PAGP-5-PORTTOSTP:Port 1/2 joined bridge port 1/1-4 %PAGP-5-PORTTOSTP:Port 1/3 joined bridge port 1/1-4 %PAGP-5-PORTTOSTP:Port 1/4 joined bridge port 1/1-4 Switch_B> (enable) %PAGP-5-PORTFROMSTP:Port 3/1 left bridge port 3/1 %PAGP-5-PORTFROMSTP:Port 3/2 left bridge port 3/2 %PAGP-5-PORTFROMSTP:Port 3/3 left bridge port 3/3 %PAGP-5-PORTFROMSTP:Port 3/4 left bridge port 3/4 %PAGP-5-PORTFROMSTP:Port 3/2 left bridge port 3/1-4 %PAGP-5-PORTFROMSTP:Port 3/3 left bridge port 3/1-4 %PAGP-5-PORTFROMSTP:Port 3/4 left bridge port 3/1-4 %PAGP-5-PORTTOSTP:Port 3/1 joined bridge port 3/1-4 %PAGP-5-PORTTOSTP:Port 3/2 joined bridge port 3/1-4 %PAGP-5-PORTTOSTP:Port 3/3 joined bridge port 3/1-4 %PAGP-5-PORTTOSTP:Port 3/4 joined bridge port 3/1-4
Step 4 After the EtherChannel bundle is negotiated, use the show port channel command to verify the configuration.
Switch_A> (enable) show port channel
Port Status Channel Channel Neighbor Neighbor
mode status device port
----- ---------- --------- ----------- ------------------------- ----------
1/1 connected desirable channel WS-C4003 JAB023806(Sw 3/1
1/2 connected desirable channel WS-C4003 JAB023806(Sw 3/2
1/3 connected desirable channel WS-C4003 JAB023806(Sw 3/3
1/4 connected desirable channel WS-C4003 JAB023806(Sw 3/4
----- ---------- --------- ----------- ------------------------- ----------
Switch_A> (enable)
Switch_B> (enable) show port channel
Port Status Channel Channel Neighbor Neighbor
mode status device port
----- ---------- --------- ----------- ------------------------- ----------
3/1 connected auto channel WS-C5000 009979082(Sw 1/1
3/2 connected auto channel WS-C5000 009979082(Sw 1/2
3/3 connected auto channel WS-C5000 009979082(Sw 1/3
3/4 connected auto channel WS-C5000 009979082(Sw 1/4
----- ---------- --------- ----------- ------------------------- ----------
Switch_B> (enable)
This example configuration shows how to configure a two-port Gigabit EtherChannel link between two switches. Figure 6-2 shows two switches connected through four 1000BaseSX Gigabit Ethernet ports.

Step 1 Make sure that all ports on Switch A and Switch B have the same port configuration, such as VLAN membership.
Switch_A> (enable) set vlan 100 2/1-2
VLAN 100 modified.
VLAN 1 modified.
VLAN Mod/Ports
---- -----------------------
100 2/1-2
Switch_A> (enable)
Switch_A> (enable) set vlan 100 2/1-2
VLAN 100 modified.
VLAN 1 modified.
VLAN Mod/Ports
---- -----------------------
100 2/1-2
Switch_A> (enable)
Step 2 You can confirm the channeling status of the switches using the show port channel command.
Switch_A> (enable) show port channel No ports channelling Switch_A> (enable) Switch_B> (enable) show port channel No ports channelling Switch_B> (enable)
Step 3 In this example, EtherChannel is configured on for all ports. If you configure ports on, you must configure the ports on both ends of the EtherChannel bundle on. The switches will not negotiate an EtherChannel port bundle automatically in on mode. The system logging messages provide information about the formation of the EtherChannel bundle.
Switch_A> (enable) set port channel 2/1-2 on Port(s) 2/1-2 channel mode set to on. Switch_A> (enable) %PAGP-5-PORTFROMSTP:Port 2/1 left bridge port 2/1 %PAGP-5-PORTFROMSTP:Port 2/2 left bridge port 2/2 %PAGP-5-PORTTOSTP:Port 2/1 joined bridge port 2/1-2 %PAGP-5-PORTTOSTP:Port 2/2 joined bridge port 2/1-2 Switch_B> (enable) set port channel 3/1-2 on Port(s) 3/1-2 channel mode set to on. Switch_B> (enable) %PAGP-5-PORTFROMSTP:Port 3/1 left bridge port 3/1 %PAGP-5-PORTFROMSTP:Port 3/2 left bridge port 3/2 %PAGP-5-PORTTOSTP:Port 3/1 joined bridge port 3/1-2 %PAGP-5-PORTTOSTP:Port 3/2 joined bridge port 3/1-2
Step 4 After the EtherChannel bundle is negotiated, use the show port channel command to verify the configuration. If you configure only the ports on one side of the link on, the show port channel command will show that the ports are channeling, but no traffic will pass over the EtherChannel. Spanning-tree loops can occur, and eventually the switch will disable the incorrectly configured EtherChannel.
Switch_A> (enable) show port channel
Port Status Channel Channel Neighbor Neighbor
mode status device port
----- ---------- --------- ----------- ------------------------- ----------
2/1 connected on channel WS-C4003 JAB023806LN( 3/1
2/2 connected on channel WS-C4003 JAB023806LN( 3/2
----- ---------- --------- ----------- ------------------------- ----------
Switch_A> (enable)
Switch_B> (enable) show port channel
Port Status Channel Channel Neighbor Neighbor
mode status device port
----- ---------- --------- ----------- ------------------------- ----------
3/1 connected on channel WS-C4003 JAB023806JR( 2/1
3/2 connected on channel WS-C4003 JAB023806JR( 2/2
----- ---------- --------- ----------- ------------------------- ----------
Switch_B> (enable)
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Mon Jul 19 12:43:21 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.