360
Configuring Optional Spanning-Tree Features
Information About Configuring the Optional Spanning-Tree Features
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 misconfiguration can also occur if the channel parameters are not the same at both ends of the
EtherChannel.
If the switch detects a misconfiguration on the other device, EtherChannel guard places the switch interfaces in the
error-disabled state, and displays an error message.
You can enable this feature by using the
spanning-tree etherchannel guard misconfig
global configuration command.
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
. You can avoid this situation by enabling root guard on SP switch interfaces that connect to
switches in your customer’s network. If spanning-tree calculations cause an interface in the customer network to be
selected as the root port, root guard then places the interface in the root-inconsistent (blocked) state to prevent the
customer’s switch from becoming 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 customer’s switch does not become 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 interface to be a designated port.
If a boundary port is blocked in an internal spanning-tree (IST) instance because of root guard, the interface also is
blocked in all MST instances. A boundary port is an interface that connects to a LAN, the designated switch of which is
either an IEEE 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.
Summary of Contents for IE 4000
Page 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Page 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Page 108: ...104 Configuring Switch Clusters Additional References ...
Page 128: ...124 Performing Switch Administration Additional References ...
Page 130: ...126 Configuring PTP ...
Page 140: ...136 Configuring CIP Additional References ...
Page 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Page 192: ...188 Configuring Switch Based Authentication Additional References ...
Page 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Page 298: ...294 Configuring VLANs Additional References ...
Page 336: ...332 Configuring STP Additional References ...
Page 408: ...404 Configuring DHCP Additional References ...
Page 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Page 490: ...486 Configuring SPAN and RSPAN Additional References ...
Page 502: ...498 Configuring Layer 2 NAT ...
Page 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Page 930: ...926 Configuring IP Unicast Routing Related Documents ...
Page 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Page 978: ...974 Dying Gasp ...
Page 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Page 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Page 996: ...992 Ethernet CFM ...
Page 1066: ...1062 Using an SD Card SD Card Alarms ...