Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    rstp (Spanning Trees)

    Syntax

    rstp { bpdu-block-on-edge; bridge-priority priority; disable; forward-delay seconds; hello-time seconds; interface (all | interface-name) {arp-on-stp;bpdu-timeout-action {block;log;} cost cost; disable; edge; mode mode; no-root-port; priority priority;} max-age seconds; traceoptions {file filename <files number > <size size> <no-stamp | no-world-readable | world-readable>;flag flag;}}

    Hierarchy Level

    [edit protocols]

    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.

    Published: 2012-12-07