Enabling EtherChannel Guard
Enabling EtherChannel Guard
To enable EtherChannel guard, perform this task:
Command
Step 1
Router(config)# spanning-tree etherchannel guard
misconfig
Router(config)# no spanning-tree etherchannel
guard misconfig
Step 2
Router(config)# end
Step 3
Router# show spanning-tree summary | include
EtherChannel
This example shows how to enable EtherChannel guard:
Router# configure terminal
Router(config)# spanning-tree etherchannel guard misconfig
Router(config)# end
Router#
This example shows how to verify the configuration:
Router# show spanning-tree summary | include EtherChannel
EtherChannel misconfiguration guard is enabled
Enter the show interface status err-disable command to display interfaces in the errdisable state.
After the misconfiguration has been cleared, interfaces in the errdisable state might automatically
recover. To manually return an interface to service, enter a shutdown and then a no shutdown command
for the interface.
Enabling Root Guard
To enable root guard, perform this task:
Command
Step 1
Router(config)# interface {type
{port-channel port_channel_number}
Step 2
Router(config-if)# spanning-tree guard root
Router(config-if)# no spanning-tree guard root
Step 3
Router(config-if)# end
Step 4
Router# show spanning-tree
Router# show running interface {type
{port-channel port_channel_number}
1.
type = ethernet, fastethernet, gigabitethernet, or tengigabitethernet
Enter the show spanning-tree inconsistentports command to display ports that are in the
root-inconsistent state.
Cisco 7600 Series Router Cisco IOS Software Configuration Guide—12.1E
16-14
Purpose
Enables EtherChannel guard.
Disables EtherChannel guard.
Exits configuration mode.
Verifies that EtherChannel guard is enabled.
Purpose
1
Selects an interface to configure.
slot/port} |
Enables root guard.
Disables root guard.
Exits configuration mode.
Verifies the configuration.
1
slot/port} |
Chapter 16
Configuring Optional STP Features
78-14064-04