Basic STP CLI Port Management
Privileged and User Exec Mode CLI command:
•
Display STP settings and parameters for an interface
— show spanning-tree interface
Global Config Mode CLI command:
•
[Disable] enable STP administrative mode for all interfaces
— [no] spanning-tree port mode enable all
Interface Config Mode CLI command:
•
[Disable] enable STP administrative mode for an interface
— [no] spanning-tree port mode enable
For MSTP commands, see
details on STP commands, see the Spanning Tree chapter in the
Rapid Spanning Tree Protocol (RSTP, IEEE 802.1w)
The default spanning tree mode in SFTOS is IEEE 802.1s (MSTP), which is backward-compatible with
IEEE 802.1D and IEEE 802.1w (Rapid Spanning Tree Protocol — RSTP). SFTOS also supports RSTP as
a non-default, stanalone mode. See
RSTP provides faster convergence than Spanning Tree Protocol (STP) and interoperability with other
switches configured with STP and MSTP.
RSTP Implementation
Port Roles
RSTP adds new port roles to STP. Port roles that forward include:
•
Root Port: This is the port that is the closest to the root bridge based on path cost. A bridge sends traffic
on this port to the root.
•
Designated Port: This is the port that is the closest to the root bridge based on path cost. A bridge
receives traffic on this port from others on the segment.
Port roles that do not forward include:
•
Alternate Port: This is a port that is an alternate path to the root on a different bridge than the
designated bridge.
•
Backup Port: This is a port that is an alternate path to the root on the designated bridge.
•
Disabled Port: This is a port that has no role in RSTP.
unit/slot/port
Multiple Spanning-Tree Protocol (MSTP, IEEE 802.1s) on page
Setting the STP Version Parameter on page
SFTOS Command Reference
151.
148. For
.
Spanning Tree | 147