2 Etherchannels
2 Etherchannels
Note: It is also possible to configure a static or unconditional EtherChannel without PAgP or LACP.
EtherChannel Operation
PAgP Mode Settings Example
The table shows the various combination of PAgP modes on S1 and S2 and the resulting channel establishment outcome.
S1 S2 Channel Establishment
On On Yes
On Desirable/Auto No
Desirable Desirable Yes
Desirable Auto Yes
Auto Desirable Yes
Auto Auto No
EtherChannel Operation
LACP Mode Settings Example
The table shows the various combination of LACP modes on S1 and S2 and the resulting channel establishment outcome.
S1 S2 Channel Establishment
On On Yes
On Active/Passive No
Active Active Yes
Active Passive Yes
Passive Active Yes
Passive Passive No
Configure EtherChannel
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 8
Configure EtherChannel
Configuration Guidelines
The following guidelines and restrictions are useful for configuring EtherChannel:
• EtherChannel support - All Ethernet interfaces must support EtherChannel with no
requirement that interfaces be physically contiguous.
• Speed and duplex - Configure all interfaces in an EtherChannel to operate at the same speed
and in the same duplex mode.
• VLAN match (access) - All interfaces in the EtherChannel bundle must be assigned to the same
VLAN or be configured as a trunk.
• Range of VLANs (trunk) - An EtherChannel supports the same allowed range of VLANs on all
the interfaces in a trunking EtherChannel. If the allowed range of VLANs is not the same, the
interfaces do not form an EtherChannel, even when they are set to auto or desirable mode.
Configure EtherChannel
Configuration Guidelines (Cont.)
• The figure shows a configuration that would allow an EtherChannel to form between S1 and S2.
• If these settings must be changed, configure them in port channel interface configuration mode. Any
configuration that is applied to the port channel interface also affects individual interfaces.
However, configurations that are applied to the individual interfaces do not affect the port channel
interface. Therefore, making configuration changes to an interface that is part of an EtherChannel
link may cause interface compatibility issues.
• The port channel can be configured in access mode, trunk mode (most common), or on a routed
port.
Configure EtherChannel
LACP Configuration Example
Configuring EtherChannel with LACP requires the following three steps:
• Step 1. Specify the interfaces that compose the EtherChannel group using the interface range interface global
configuration mode command. The range keyword allows you to select several interfaces and configure them all
together.
• Step 2. Create the port channel interface with the channel-group identifier mode active command in interface range
configuration mode. The identifier specifies a channel group number. The mode active keywords identify this as an LACP
EtherChannel configuration.
• Step3. To change Layer 2 settings on the port channel interface, enter port channel interface configuration mode using
the interface port-channel command, followed by the interface identifier. In the example, S1 is configured with an LACP
EtherChannel. The port channel is configured as a trunk interface with the allowed VLANs specified.
Verify and Troubleshoot EtherChannel
Verify EtherChannel
As always, when you configure devices in your network, you must verify your configuration. If
there are problems, you will also need to be able to troubleshoot and fix them. There are a
number of commands to verify an EtherChannel configuration:
• The show interfaces port-channel command displays the general status of the port channel
interface.
• The show etherchannel summary command displays one line of information per port channel.
• The show etherchannel port-channel command displays information about a specific port
channel interface.
• The show interfaces etherchannel command can provide information about the role of a
physical member interface of the EtherChannel.