stp
Syntax
- stp {
- disable;
- bridge-priority priority;
- forward-delay seconds;
- hello-time seconds;
-
- interface (all | interface-name) {
- disable;
-
- bpdu-timeout-action {
- block;
- alarm;
- }
- cost cost;
- edge;
- 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
Release Information
Statement introduced in JUNOS Release 9.0 for EX Series switches.
Description
When you explicitly configure STP, the EX Series 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.