663
Chapter 44
STP Commands
The STP commands are summarized in Table 63 and described in detail
within the chapter.
Table 63. Spanning Tree Protocol Commands
Command Mode Description
“NO SPANNING-TREE STP
ENABLE” on page 665
Global
Configuration
Disables STP on the switch.
“SHOW SPANNING-TREE” on
page 666
User Exec and
Privileged Exec
Displays the STP settings.
“SPANNING-TREE FORWARD-TIME”
on page 668
Global
Configuration
Sets the forward time, which specifies
how long the ports remain in the
listening and learning states before
they transition to the forwarding state.
“SPANNING-TREE GUARD ROOT”
on page 669
Port Interface Enables the Root Guard feature on a
port.
“SPANNING-TREE HELLO-TIME” on
page 670
Global
Configuration
Sets the hello time, which defines how
frequently the switch sends spanning
tree configuration information when it
is the root bridge or is trying to
become the root bridge.
“SPANNING-TREE MAX-AGE” on
page 671
Global
Configuration
Sets the maximum age parameter,
which defines how long bridge
protocol data units (BPDUs) are
stored by the switch before they are
deleted.
“SPANNING-TREE MODE STP” on
page 672
Global
Configuration
Designates STP as the active
spanning tree protocol on the switch.
“SPANNING-TREE PATH-COST” on
page 673
Port Interface Specifies the cost of a port to the root
bridge.
“SPANNING-TREE PORTFAST” on
page 674
Port Interface Designates edge ports on the
specified port.