Supported Platforms
rstp (Spanning Trees)
Syntax
Hierarchy Level
Release Information
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Description
Configure Rapid Spanning Tree Protocol (RSTP). RSTP is defined in the IEEE 802.1D-2004 specification and is used to prevent loops in Layer 2 networks, which results in shorter convergence times than those provided by basic Spanning Tree Protocol (STP).
VSTP and RSTP can be configured concurrently. You can selectively configure up to 253 VLANs using VSTP; the remaining VLANs will be configured using RSTP. VSTP and RSTP are the only spanning-tree protocols that can be configured concurrently on the switch. See Configuring VSTP (CLI Procedure) for more information on configuring VSTP and RSTP concurrently.
![]() | Best Practice: Configure RSTP when you configure VSTP. RSTP overhead is minimal and this configuration ensures that a spanning-tree protocol is running on all VLANs on your switch, even when your switch is supporting more than 253 VLANs. |
The remaining statements are explained separately.
Default
RSTP is enabled on all Ethernet switching interfaces.
Required Privilege Level
routing—To view this statement in the
configuration.
routing-control—To add this statement
to the configuration.