Complete Software Guide for Junos
stp
Syntax
Hierarchy Level
Release Information
Description
Default
Required Privilege
Level
Related
Documentation
1858
®
OS for EX Series Ethernet Switches, Release 10.4
stp {
disable;
bridge-priority priority;
forward-delay seconds;
hello-time seconds;
interface (all | interface-name) {
disable;
bpdu-timeout-action {
block;
log;
}
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;
}
}
[edit protocols]
Statement introduced in Junos OS Release 9.0 for EX Series switches.
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.
STP is disabled; by default, RSTP is enabled on all Ethernet switching ports.
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
show spanning-tree bridge on page 1878
show spanning-tree interface on page 1887
Example: Configuring BPDU Protection on STP Interfaces to Prevent STP
Miscalculations on EX Series Switches on page 1795
Configuring STP (CLI Procedure) on page 1814
Understanding STP for EX Series Switches on page 1751
Copyright © 2010, Juniper Networks, Inc.