Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

rstp

 

List of Syntax

MX Series

EX Series

ELS Versions: EX Series, QFX Series, NFX Series

MX Series

EX Series

ELS Versions: EX Series, QFX Series, NFX Series

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 8.4.

Statement introduced in Junos OS Release 9.0 for EX Series switches.

bpdu-block-on-edge statement added in Junos OS Release 9.4.

bpdu-timeout-action statement added in Junos OS Release 9.4.

Support for logic systems added in Junos OS Release 9.6.

Statement introduced in Junos OS Release 13.2X50-D10 for EX Series switches.

Statement updated in Junos OS Release 15.1 for EX Series and QFX Series switches to support configuration of spanning tree parameters globally on all interfaces.

Note

You cannot disable spanning tree parameters globally on all interfaces.

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.

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. See CLI Explorer.

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.