S
PANNING

T

REE

C

OMMANDS

4-183

Command Mode

Privileged Exec

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: 100 sec.
Console#
Table 4-50 Spanning Tree Commands
Command Function Mode Page
spanning-tree Enables the spanning tree protocol GC 4-184
spanning-tree mode Configures STP or RSTP GC 4-185
spanning-tree
forward-time
Configures the spanning tree bridge
forward time
GC 4-186
spanning-tree
hello-time
Configures the spanning tree bridge hello
time
GC 4-187
spanning-tree
max-age
Configures the spanning tree bridge
maximum age
GC 4-187
spanning-tree
priority
Configures the spanning tree bridge
priority
GC 4-188
spanning-tree
path-cost method
Configures the path cost method for
RSTP
GC 4-189
spanning-tree
transmission-limit
Configures the transmission limit for
RSTP
GC 4-190
spanning-tree cost Configures the spanning tree path cost of
an interface
IC 4-190
spanning-tree
port-priority
Configures the spanning tree priority of
an interface
IC 4-191
spanning-tree
edge-port
Enables fast forwarding for edge ports IC 4-192