White Papers

Table Of Contents
Spanning Tree Protocol (STP)
The commands in this chapter configure and monitor the IEEE 802.1d spanning tree protocol (STP).
Topics:
bridge-priority
debug spanning-tree
description
disable
forward-delay
hello-time
max-age
portfast bpdufilter default
protocol spanning-tree
show config
show spanning-tree 0
spanning-tree 0
bridge-priority
Set the bridge priority of the switch in an IEEE 802.1D spanning tree.
Syntax
bridge-priority {priority-value | primary | secondary}
To return to the default value, use the no bridge-priority command.
Parameters
priority-value
Enter a number as the bridge priority value. The range is from 0 to 65535. The
default is 32768.
primary Enter the keyword primary to designate the bridge as the root bridge.
secondary Enter the keyword secondary to designate the bridge as a secondary root bridge.
Defaults priority-value = 32768
Command Modes SPANNING TREE (The prompt is config-stp.)
Supported Modes FullSwitch
Command
History
Version Description
9.9(0.0) Introduced on the FN IOM.
8.3.16.1 Introduced on the MXL 10/40GbE Switch IO Module.
debug spanning-tree
Enable debugging of the spanning tree protocol and view information on the protocol.
Syntax
debug spanning-tree {stp-id [all | bpdu | events | exceptions] | protocol}
To disable debugging, use the no debug spanning-tree command.
Parameters
stp-id
Enter zero (0). The switch supports one spanning tree group with a group ID of 0.
59
1148 Spanning Tree Protocol (STP)