Chapter 18
| Spanning Tree Commands
– 430 –
spanning-tree
This command enables the Spanning Tree Algorithm globally for the switch. Use
the
no
form to disable it.
Syntax
[
no
]
spanning-tree
Default Setting
Spanning tree is disabled.
Command Mode
Global Configuration
Command Usage
â—†
The Spanning Tree Algorithm (STA) can be used to detect and disable network
loops, and to provide backup links between switches, bridges or routers. This
spanning-tree loopback-
detection action
Configures the response for loopback detection to block
user traffic or shut down the interface
IC
spanning-tree loopback-
detection release-mode
Configures loopback release mode for a port IC
spanning-tree
loopback-detection trap
Enables BPDU loopback SNMP trap notification for a port IC
spanning-tree mst cost Configures the path cost of an instance in the MST IC
spanning-tree
mst port-priority
Configures the priority of an instance in the MST IC
spanning-tree
port-bpdu-flooding
Floods BPDUs to other ports when global spanning tree is
disabled
IC
spanning-tree port-priority Configures the spanning tree priority of an interface IC
spanning-tree root-guard Prevents a designated port from passing superior BPDUs IC
spanning-tree
spanning-disabled
Disables spanning tree for an interface IC
spanning-tree tc-prop-stop Stops propagation of topology change information IC
spanning-tree
loopback-detection release
Manually releases a port placed in discarding state by
loopback-detection
PE
spanning-tree
protocol-migration
Re-checks the appropriate BPDU format PE
show spanning-tree Shows spanning tree configuration for the common
spanning tree (i.e., overall bridge), a selected interface, or
an instance within the multiple spanning tree
PE
show spanning-tree
mst configuration
Shows the multiple spanning tree configuration PE
show spanning-tree tc-prop Shows configuration of topology change propagation
domains
PE
Table 90: Spanning Tree Commands (Continued)
Command Function Mode