Understanding EtherChannel Inconsistency
Understanding EtherChannel Inconsistency
Detection
Document ID: 20625
Contents
Introduction
Prerequisites
Requirements
Components Used
Conventions
Background
How Inconsistency Detection Works
Troubleshooting EtherChannel Inconsistency Detection
Related Information
Introduction
This document provides information on EtherChannel inconsistency and how it is detected in Cisco Catalyst
switches.
This document does not go into detail about how EtherChannels work or how they are configured. For
documentation that provides details about how to understand and configure EtherChannels, as well as sample
configurations between different Catalyst switches, refer to LAN Technologies Technical Support:
EtherChannel.
Prerequisites
Requirements
There are no specific requirements for this document.
Components Used
This document is not restricted to specific software and hardware versions.
Conventions
Refer to Cisco Technical Tips Conventions for more information on document conventions.
Background
An EtherChannel is an aggregated set of physical ports presented as a single logical port. The goal of
EtherChannel is to provide greater bandwidth and availability than that of a single port.
Spanning Tree Protocol (STP) sees an EtherChannel as a single port. This presents a danger of the creation of
forwarding loops if channeling ports are not consistent on both sides of the channel.
Special protocols such as Cisco Port Aggregation Protocol (PAgP) and the IEEE Link Aggregation Control
Protocol (LACP) are designed to ensure that there is consistency among channeling neighbor switches.
However, there are cases when neither of these protocols are supported by either system, or they are disabled
due to other considerations. Cisco has developed a special mechanism to detect and disable channel
inconsistency in order to prevent packet duplication, looping, and other issues associated with inconsistent
EtherChannels. This feature is supported by Catalyst 4500/4000, 5500/6000, and 6500/6000 switches, and it is
enabled by default, regardless of whether the channel mode is desirable, active, auto,
passive, or on.
This is not the case if one switch considers the links to be a channel and a neighbor switch considers those
links to be separate connections, that is, inconsistent. Consider this example:
In the diagram, switch A does not channel, while switch B channels. Assume that the STP designated port for
the channel is on the switch B side. This means that switch B is supposed to send BPDUs. As long as the
channel is regarded as a single STP port, only one BPDU is sent for each VLAN on the channel. This BPDU
is physically transmitted by one of the links in the channel. Therefore, only one of the ports on switch A
receives it. This is represented with a black arrow in the diagram.
After switch A receives the BPDU, the other port on switch A becomes the STP designated port. This is
because the port is not bundled as a channel with the port that received the BPDU, and it does not receive
BPDUs directly from switch B. As the STP designated port on switch A, it now transmits BPDUs, which are
represented by the red arrow in the diagram, back to switch B. Switch B receives BPDUs from switch A, and
an inconsistency is detected.
The EtherChannel inconsistency detection mechanism requires that only one designated port in the channel,
for each VLAN, either sends or receives BPDUs. Each port on the Catalyst switch has its own unique MAC
address used when it sends BPDUs.
For Catalyst OS (CatOS), you can see this MAC address if you issue the show port macaddress mod/port
command in version 7.1(1) and later, or the show module mod command. This is a sample output:
Mod MACAddress(es) Hw Fw Sw
2 0002fc901926 to 0002fc901935 0.231 6.1(3) 7.1(1)
For Cisco IOS software on a Catalyst switch, you can see the MAC address if you issue the show interface
type mod/port command as shown in this sample output:
If the source MAC address of the received or sent BPDUs alternates constantly on an EtherChannel, then
multiple STP ports send BPDUs. This is a clear sign of inconsistency, as the STP considers the channel a
single port.
Note: This mechanism allows for some tolerance, as it is possible for BPDUs to come from different MAC
addresses. For example, when STP converges, the STP designated port can change between different sides of
the channel. However, this process must settle within a short time.
Both sent and received BPDUs are examined by the detection mechanism. An EtherChannel is considered
inconsistent if the channel detects greater than 75 BPDUs from different MAC addresses in more than 30
seconds. However, if 5 BPDUs are seen consecutively from the same MAC address, the detection counters are
reset. These timers/counters can change in future software releases.
Note: Due to the general nature of this mechanism, inconsistency detection can be triggered even if the
channel is configured consistently.
For example, if there is a hardware or software issue with a switch in the network and two separate switches,
connected by a channel, cannot agree on which side the STP designated port is, each side sends BPDUs.
EtherChannels with these symptoms can be disabled by the consistency detection mechanism. This must not
be regarded as a harmful side effect, as this change potentially allows split networks to converge.
Even when STP is disabled, BPDUs are not flooded by hardware. The STP still has to process on BPDUs,
which includes a change of the source MAC address in the BPDU to the MAC address of the sending port.
This means that inconsistency detection works on the channel even if STP is disabled.
It is also possible to monitor the operation of the feature. In order to do this, issue the show spantree
statistics mod/port [vlan] command for CatOS. Consider this example:
! Output suppressed.
channel_src_mac 00d05aeb675a
channel src count 73
channel OK count 1
! Output suppressed.
channel_src_mac 005014bb63a9
channel src count 76
channel OK count 1
This list explains the show spantree statistics mod/port [vlan] parameters in the sample output.
channel_src_mac Shows the source MAC address of the last BPDU sent or received on the
channel
channel src count Counts the number of BPDUs sent or received with different source MAC
addresses
channel OK count Counts the number of BPDUs sent consecutively with the same MAC
address
Note: The channel src count parameter increases. Once it surpasses 75, all links in the channel are put
into errordisabled state, and the syslog messages are issued. Also, note that the MAC addresses seen in
the two samples of output are different.
You can also see this error message in syslog output for CatOS if there are EtherChannel misconfiguration
issues:
This message indicates that there is a possible misconfiguration in the EtherChannel type setting
(auto/desirable/on). A misconfigured channel has formed, which causes spanning tree loops. Within
the message:
In CatOS release 8.1 and later, %SPANTREE2CHNMISCFG2: BPDU accompanies the error message.
This message helps when you troubleshoot because the MAC addresses are now in the syslogs and can be
reviewed for and easier job when you troubleshoot.
This message appears after the SPANTREE2CHNMISCFG message is displayed. This message provides the
source MAC addresses of the STP BPDUs that caused the error disabling of the channel. Within the message,
[chars], [chars] are the source MAC addresses of the BPDUs.
For Cisco IOS Software, you must use standard STP troubleshooting procedures in order to detect
EtherChannel inconsistency. If you see this error message in syslog output, there can be EtherChannel
misconfiguration issues:
This message indicates that the misconfiguration of a channel group is detected. For example, ports on one
side of the EtherChannel either are not configured to be in the channel or failed to bundle, while ports on the
other side of the EtherChannel are successfully bundled. Within the message, [chars] is the channel group
ID.
Determine the misconfigured local ports with the show interfaces status errdisabled command. Check the
EtherChannel configuration on the remote device with the show etherchannel summary command on the
remote device. Once the configuration is corrected, issue the shutdown command and then the no shutdown
command on the associated portchannel interface.
For more information on the STP debug commands and how to troubleshoot, refer to Troubleshooting STP on
Catalyst Switch Running Cisco IOS System Software.
Related Information
EtherChannel Feature Configuration Guidelines and Restrictions
EtherChannel Configuration Guidelines
LAN Product Support Pages
LAN Switching Support Page
Tools and Resources
Technical Support & Documentation Cisco Systems