[an error occurred while processing this directive][an error occurred while processing this directive]

vstp

Syntax

vstp { bpdu-block-on-edge; disable; force-version stp; vlan (vlan-id | vlan-name) { bridge-priority priority; forward-delay seconds; hello-time seconds; interface (all | interface-name) {disable;bpdu-timeout-action{alarm;block;} cost cost; 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 Release 9.4 for EX Series switches.

Description

Configure VLAN Spanning Tree Protocol (VSTP). VSTP is used to prevent loops in Layer 2 networks on a per-VLAN basis.

You cannot commit a configuration that uses VSTP on more than 253 VLANs. If there are more than 253 VLANs on your switch, you must use the vlan statement to specify which VLANs or VLAN groups should use VSTP, and the total number of VLANs using VSTP cannot exceed 253. You also cannot use the vlan all option to configure VSTP when your switch has more than 253 VLANs. Run RSTP with VSTP in networks with large numbers of VLANs to ensure all VLANs are running a spanning-tree protocol.

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

VSTP is not enabled by default.

Required Privilege Level

routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.


Published: 2010-04-22

[an error occurred while processing this directive]