Spanning Tree Commands

4-153

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-52 Spanning Tree Commands

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