-24
Cisco ME 3800X and ME 3600X Switch Command Reference
OL-28238-01
Chapter
spanning-tree guard
You can override the setting of the spanning-tree loopguard default global configuration command by
using the spanning-tree guard loop interface configuration command on an STP interface.
You can verify your settings by entering the show running-config privileged EXEC command.
Examples This example shows how to enable root guard on all the VLANs associated with the specified port:
Switch(config)# interface gigabitethernet0/2
Switch(config-if)# spanning-tree guard root
This example shows how to enable loop guard on all the VLANs associated with the specified port:
Switch(config)# interface gigabitethernet0/2
Switch(config-if)# spanning-tree guard loop
Related Commands Command Description
show running-config Displays the operating configuration.
spanning-tree cost Sets the path cost for spanning-tree calculations.
spanning-tree loopguard default Prevents alternate or root ports from becoming designated
ports because of a failure that leads to a unidirectional link.
spanning-tree mst cost Configures the path cost for MST calculations.
spanning-tree mst port-priority Configures an STP MST port priority.
spanning-tree mst root Configures the MST root switch priority and timers based on
the network diameter.
spanning-tree port-priority Configures an STP port priority.
spanning-tree vlan priority Sets the switch priority for the specified spanning-tree
instance.