2-524
Catalyst 3560 Switch Command Reference
78-16405-05
Chapter 2 Catalyst 3560 Switch Cisco IOS Commands
show spanning-tree
Related Commands
Command
Description
clear spanning-tree counters
Clears the spanning-tree counters.
clear spanning-tree detected-protocols
Restarts the protocol migration process.
spanning-tree backbonefast
Enables the BackboneFast feature.
spanning-tree bpdufilter
Prevents an interface from sending or receiving bridge
protocol data units (BPDUs).
spanning-tree bpduguard
Puts an interface in the error-disabled state when it
receives a BPDU.
spanning-tree cost
Sets the path cost for spanning-tree calculations.
spanning-tree extend system-id
Enables the extended system ID feature.
spanning-tree guard
Enables the root guard or the loop guard feature for all the
VLANs associated with the selected interface.
spanning-tree link-type
Overrides the default link-type setting for rapid
spanning-tree transitions to the forwarding state.
spanning-tree loopguard default
Prevents alternate or root ports from becoming the
designated port because of a failure that leads to a
unidirectional link.
spanning-tree mst configuration
Enters multiple spanning-tree (MST) configuration mode
through which the MST region configuration occurs.
spanning-tree mst cost
Sets the path cost for MST calculations.
spanning-tree mst forward-time
Sets the forward-delay time for all MST instances.
spanning-tree mst hello-time
Sets the interval between hello BPDUs sent by root switch
configuration messages.
spanning-tree mst max-age
Sets the interval between messages that the spanning tree
receives from the root switch.
spanning-tree mst max-hops
Sets the number of hops in an MST region before the
BPDU is discarded and the information held for an
interface is aged.
spanning-tree mst port-priority
Configures an interface priority.
spanning-tree mst priority
Configures the switch priority for the specified
spanning-tree instance.
spanning-tree mst root
Configures the MST root switch priority and timers based
on the network diameter.
spanning-tree port-priority
Configures an interface priority.
spanning-tree portfast (global
configuration)
Globally enables the BPDU filtering or the BPDU guard
feature on Port Fast-enabled interfaces or enables the Port
Fast feature on all nontrunking interfaces.
spanning-tree portfast (interface
configuration)
Enables the Port Fast feature on an interface and all its
associated VLANs.
spanning-tree uplinkfast
Accelerates the choice of a new root port when a link or
switch fails or when the spanning tree reconfigures itself.
spanning-tree vlan
Configures spanning tree on a per-VLAN basis.