spanning-tree etherchannel guard misconfig
spanning-tree etherchannel guard misconfig
Use the spanning-tree etherchannel guard misconfig global configuration command to display an
error message when the switch detects an EtherChannel misconfiguration. Use the no form of this
command to disable the feature.
Syntax Description
This command has no arguments or keywords.
Defaults
EtherChannel guard is enabled on the switch.
Command Modes
Global configuration
Command History
Release
12.2(25)EX
Usage Guidelines
Spanning Tree Protocol (STP) is not supported on user network interfaces (UNIs). This command affects
only network node interfaces (NNIs) or enhanced network interfaces (ENIs) on which STP has been
enabled. To set a port as an NNI or ENI, enter the port-type {nni | eni} interface configuration
command. To enable STP on an ENI, enter the spanning-tree interface configuration command.
When the switch detects an EtherChannel misconfiguration, this error message appears:
PM-4-ERR_DISABLE: Channel-misconfig error detected on [chars], putting [chars] in
err-disable state.
To show switch ports that are in the misconfigured EtherChannel, use the show interfaces status
err-disabled privileged EXEC command. To verify the EtherChannel configuration on a remote device,
use the show etherchannel summary privileged EXEC command on the remote device.
When a port is in the error-disabled state because of an EtherChannel misconfiguration, you can bring
it out of this state by entering the errdisable recovery cause channel-misconfig global configuration
command, or you can manually re-enable it by entering the shutdown and no shut down interface
configuration commands.
Examples
This example shows how to enable the EtherChannel guard misconfiguration feature:
Switch(config)# spanning-tree etherchannel guard misconfig
You can verify your settings by entering the show spanning-tree summary privileged EXEC command.
Cisco ME 3400 Ethernet Access Switch Command Reference
2-618
spanning-tree etherchannel guard misconfig
no spanning-tree etherchannel guard misconfig
Modification
This command was introduced.
Chapter 2 Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands
OL-9640-10