CLI Guide

58
Spanning Tree Protocol (STP)
The commands in this chapter configure and monitor the IEEE 802.1d spanning tree protocol (STP).
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 Full–Switch
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}
Spanning Tree Protocol (STP)
1447