53
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”.)
Command
History
Version 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.
1270
Spanning Tree Protocol (STP)