Installation guide
Command Line Interface
4-218
4
Spanning Tree Commands
This section includes commands that configure the Spanning Tree Algorithm (STA)
globally for the switch, and commands that configure STA for the selected interface.
Table 4-64 Spanning Tree Commands
Command Function Mode Page
spanning-tree Enables the spanning tree protocol GC 4-219
spanning-tree mode Configures STP, RSTP or MSTP mode GC 4-220
spanning-tree forward-time Configures the spanning tree bridge forward time GC 4-221
spanning-tree hello-time Configures the spanning tree bridge hello time GC 4-221
spanning-tree max-age Configures the spanning tree bridge maximum age GC 4-222
spanning-tree priority Configures the spanning tree bridge priority GC 4-223
spanning-tree
system-bpdu-flooding
Floods BPDUs to all other ports or just to all other ports in
the same VLAN when global spanning tree is disabled
GC 4-223
spanning-tree
path-cost method
Configures the path cost method for RSTP/MSTP GC 4-224
spanning-tree
transmission-limit
Configures the transmission limit for RSTP/MSTP GC 4-224
spanning-tree
mst-configuration
Changes to MSTP configuration mode GC 4-225
mst vlan Adds VLANs to a spanning tree instance MST 4-225
mst priority Configures the priority of a spanning tree instance MST 4-226
name Configures the name for the multiple spanning tree MST 4-227
revision Configures the revision number for the multiple spanning
tree
MST 4-227
max-hops Configures the maximum number of hops allowed in the
region before a BPDU is discarded
MST 4-228
spanning-tree
spanning-disabled
Disables spanning tree for an interface IC 4-228
spanning-tree cost Configures the spanning tree path cost of an interface IC 4-229
spanning-tree port-priority Configures the spanning tree priority of an interface IC 4-230
spanning-tree edge-port Enables fast forwarding for edge ports IC 4-231
spanning-tree portfast Sets an interface to fast forwarding IC 4-232
spanning-tree
port-bpdu-flooding
Floods BPDUs to other ports when global spanning tree is
disabled
IC 4-232
spanning-tree link-type Configures the link type for RSTP/MSTP IC 4-233
spanning-tree
loopback-detection
Enables BPDU loopback detection for the port IC 4-234
spanning-tree
loopback-detection
release-mode
Configures loopback release mode for the port IC 4-234
spanning-tree
loopback-detection trap
Enables BPDU loopback SNMP trap notification for the
port
IC 4-235