S
PANNING
T
REE
C
OMMANDS
4-221
Example
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.
Console#show mac-address-table aging-time
Aging time: 300 sec.
Console#
Table 4-58 Spanning Tree Commands
Command Function Mode Page
spanning-tree Enables the spanning tree protocol GC 4-222
spanning-tree mode Configures STP, RSTP or MSTP mode GC 4-223
spanning-tree
forward-time
Configures the spanning tree bridge
forward time
GC 4-225
spanning-tree
hello-time
Configures the spanning tree bridge hello
time
GC 4-226
spanning-tree max-age Configures the spanning tree bridge
maximum age
GC 4-226
spanning-tree priority Configures the spanning tree bridge priority GC 4-227
spanning-tree
path-cost method
Configures the path cost method for
RSTP/MSTP
GC 4-228
spanning-tree
transmission-limit
Configures the transmission limit for
RSTP/MSTP
GC 4-229
spanning-tree
mst-configuration
Changes to MSTP configuration mode GC 4-229
mst vlan Adds VLANs to a spanning tree instance MST 4-230
mst priority Configures the priority of a spanning tree
instance
MST 4-231
name Configures the name for the multiple
spanning tree
MST 4-232
revision Configures the revision number for the
multiple spanning tree
MST 4-233