Ethernet Switch CLI Reference Guide
267
CHAPTER 68
STP and RSTP Commands
Use these commands to configure Spanning Tree Protocol (STP) and Rapid Spanning Tree
Protocol (RSTP) as defined in the following standards.
• IEEE 802.1D Spanning Tree Protocol
• IEEE 802.1w Rapid Spanning Tree Protocol
See Chapter 45 on page 191 and Chapter 46 on page 193 for more information on MRSTP and
MSTP commands respectively. See also Chapter 39 on page 177 for information on loopguard
commands.
68.1 Command Summary
The following section lists the commands for this feature.
Table 148 spanning-tree Command Summary
COMMAND DESCRIPTION M P
show spanning-tree config Displays Spanning Tree Protocol (STP) settings. E 3
spanning-tree mode
<RSTP|MRSTP|MSTP>
Specifies the STP mode you want to implement on the
Switch.
C13
spanning-tree Enables STP on the Switch. C 13
no spanning-tree Disables STP on the Switch. C 13
spanning-tree hello-time <1-10>
maximum-age <6-40> forward-delay
<4-30>
Sets Hello Time, Maximum Age and Forward Delay.
hello-time: The time interval in seconds between BPDU
(Bridge Protocol Data Units) configuration message
generations by the root switch.
maximum-age: The maximum time (in seconds) the Switch
can wait without receiving a BPDU before attempting to
reconfigure.
forward-delay: The maximum time (in seconds) the
Switch will wait before changing states.
C13
spanning-tree priority <0-61440> Sets the bridge priority of the Switch. The lower the numeric
value you assign, the higher the priority for this bridge.
priority: Must be a multiple of 4096.
C13
spanning-tree <port-list> Enables STP on a specified ports. C 13
no spanning-tree <port-list> Disables STP on listed ports. C 13