Command Line Interface

4-196

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

Command Function Mode Page
spanning-tree Enables the spanning tree protocol GC 4-197
spanning-tree mode Configures STP, RSTP or MSTP mode GC 4-197
spanning-tree forward-time Configures the spanning tree bridge forward time GC 4-198
spanning-tree hello-time Configures the spanning tree bridge hello time GC 4-199
spanning-tree max-age Configures the spanning tree bridge maximum age GC 4-199
spanning-tree priority Configures the spanning tree bridge priority GC 4-200
spanning-tree
path-cost method
Configures the path cost method for RSTP/MSTP GC 4-201
spanning-tree
transmission-limit
Configures the transmission limit for RSTP/MSTP GC 4-202
spanning-tree
mst-configuration
Changes to MSTP configuration mode GC 4-202
mst vlan Adds VLANs to a spanning tree instance MST 4-203
mst priority Configures the priority of a spanning tree instance MST 4-203
name Configures the name for the multiple spanning tree MST 4-204
revision Configures the revision number for the multiple spanning
tree
MST 4-205
max-hops Configures the maximum number of hops allowed in the
region before a BPDU is discarded
MST 4-205
spanning-tree
spanning-disabled
Disables spanning tree for an interface IC 4-206
spanning-tree cost Configures the spanning tree path cost of an interface IC 4-206
spanning-tree port-priority Configures the spanning tree priority of an interface IC 4-208
spanning-tree edge-port Enables fast forwarding for edge ports IC 4-208
spanning-tree portfast Sets an interface to fast forwarding IC 4-209
spanning-tree link-type Configures the link type for RSTP/MSTP IC 4-210
spanning-tree mst cost Configures the path cost of an instance in the MST IC 4-211
spanning-tree mst
port-priority
Configures the priority of an instance in the MST IC 4-212
spanning-tree
protocol-migration
Re-checks the appropriate BPDU format PE 4-212
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-213
show spanning-tree mst
configuration
Shows the multiple spanning tree configuration PE 4-215