Navigation
Supported Platforms
stp (Spanning Trees)
Syntax
stp { 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; mode mode; no-root-port; priority priority;} max-age seconds; traceoptions {file filename <files number > <size size> <no-stamp | world-readable | no-world-readable>;flag flag;}}
Hierarchy Level
[edit protocols]
Release Information
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Description
Configure Spanning Tree Protocol (STP). When you explicitly configure STP, the switches use the IEEE 802.1D 2004 specification, force version 0. This configuration runs a version of RSTP that is compatible with the classic, basic STP (defined in the IEEE 802.1D 1998 specification).
The remaining statements are explained separately.
Default
STP is disabled. By default, RSTP is enabled on all Ethernet switching ports.
Required Privilege Level
routing—To view this statement in the
configuration.
routing-control—To add this statement
to the configuration.