Command Line Interface
4-150
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-54 Spanning Tree Commands
Command Function Mode Page
spanning-tree Enables the spanning tree protocol GC 4-151
spanning-tree mode Configures STP, RSTP or MSTP mode GC 4-151
spanning-tree forward-time Configures the spanning tree bridge forward time GC 4-152
spanning-tree hello-time Configures the spanning tree bridge hello time GC 4-153
spanning-tree max-age Configures the spanning tree bridge maximum age GC 4-153
spanning-tree priority Configures the spanning tree bridge priority GC 4-154
spanning-tree
path-cost method
Configures the path cost method for RSTP/MSTP GC 4-155
spanning-tree
transmission-limit
Configures the transmission limit for RSTP/MSTP GC 4-155
spanning-tree
mst-configuration
Changes to MSTP configuration mode GC 4-156
mst vlan Adds VLANs to a spanning tree instance MST 4-156
mst priority Configures the priority of a spanning tree instance MST 4-157
name Configures the name for the multiple spanning tree MST 4-157
revision Configures the revision number for the multiple spanning
tree
MST 4-158
max-hops Configures the maximum number of hops allowed in the
region before a BPDU is discarded
MST 4-159
spanning-tree
spanning-disabled
Disables spanning tree for an interface IC 4-159
spanning-tree cost Configures the spanning tree path cost of an interface IC 4-160
spanning-tree port-priority Configures the spanning tree priority of an interface IC 4-161
spanning-tree edge-port Enables fast forwarding for edge ports IC 4-161
spanning-tree portfast Sets an interface to fast forwarding IC 4-162
spanning-tree link-type Configures the link type for RSTP/MSTP IC 4-163
spanning-tree mst cost Configures the path cost of an instance in the MST IC 4-163
spanning-tree mst
port-priority
Configures the priority of an instance in the MST IC 4-164
spanning-tree
protocol-migration
Re-checks the appropriate BPDU format PE 4-165
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 4-166
show spanning-tree mst
configuration
Shows the multiple spanning tree configuration PE 4-168