-38

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.

Command Function Mode Page
spanning-tree Enables the spanning tree protocol GC 3-39
spanning-tree mode Configures STP, RSTP mode GC 3-39
spanning-tree
forward-time
Configures the spanning tree bridge forward
time
GC 3-41
spanning-tree
hello-time
Configures the spanning tree bridge hello time GC 3-42
spanning-tree max-age Configures the spanning tree bridge maximum
age
GC 3-42
spanning-tree priority Configures the spanning tree bridge priority GC 3-43
spanning-tree
path-costmethod
Configures the path cost method for RSTP GC 3-44
spanning-tree
transmission-limit
Configures the transmission limit for RSTP GC 3-45
spanning-tree
spanning-disabled
Disables spanning tree for an interface IC
spanning-tree cost Configures the spanning tree path cost of an
interface
IC 3-46
spanning-tree
port-priority
Configures the spanning tree priority of an
interface
IC 3-47
spanning-tree edge-port Enables fast forwarding for edge ports IC 3-48
spanning-tree portfast Sets an interface to fast forwarding IC 3-49
spanning-tree link-type Configures the link type for RSTP IC 3-50
spanning-tree
protocol-migration
Re-checks the appropriate BPDU format PE 3-51
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 3-51