16-11
Catalyst2950 and Catalyst2955 Switch Software Configuration Guide
78-11380-10
Chapter16 Configuring Optiona l Spa nning-Tree Features Understanding Optional Spanning-Tree Features
Understanding EtherChannel Guard
You can use EtherChannel guard to detect an EtherChannel misconfiguration between the switch and a
connected device. A misconfiguration can occur if the switch interfaces are configured in an
EtherChannel, but the interfaces on the other device are not. A m isco nfigurat ion c an a lso o cc ur if the
channel parameters are not the same at both ends of th e EtherChannel. For EtherChannel configuration
guidelines, see the EtherChannel Configuration Guidelines section on page 31-8.
If the switch detects a misconfiguration on the other device, EtherChannel guard places the switch
interfaces in the error-disabled state, and this error message appears:
PM-4-ERR_DISABLE: Channel-misconfig error detected on [chars], putting [chars] in
err-disable state.
You can enable this feature by using the spanning-tree etherchannel guard misconfig global
configuration command.
Understanding Root Guard
The Layer 2 network of a service provider (SP) can include many connections to switches that are not
owned by the SP. In such a topology, the spanning tree can reconfigure itself and select a customer switch
as the root switch, as shown in Figure16-10. You can avoid this situation by enabling root guard on SP
switch interfaces that connect to switches in your customers network. If spanning-tree calculations
cause an interface in the customer network to be selecte d as the ro ot p ort , r oot gu ard the n plac e s the
interface in the root-inconsistent (blocked) state to prevent the customers switch fr om becomi ng the root
switch or being in the path to the root.
If a switch outside the SP network becomes the root switch, the interface is blocked (root-inconsistent
state), and spanning tree selects a new root switch. The customers switch does not becom e the root
switch and is not in the path to the root.
If the switch is operating in multiple spanning-tree (MST) mode, root guard forces the port to be a
designated port. If a boundary port is blocked in an internal spanning-tree (IST) in stance because of root
guard, the port also is blocked in all MST instances. A boundary port is a port that connects to a LAN,
the designated switch of which is either an 802.1D switch or a switch with a different MST region
configuration.
Root guard enabled on an interface applies to all the VLANs to which the interface belongs. VLANs can
be grouped and mapped to an MST instance.
You can enable this feature by using the spanning-tree guard root interface configuration command.
Caution Misuse of the root-guard feature can cause a loss of connectivity.