vlan (VSTP)
Syntax
vlan vlan-id { bridge-priority priority; forward-delay seconds; hello-time seconds; max-age seconds; interface interface-name { cost cost; edge; mode (p2p | shared); no-root-port; priority interface-priority; } }
EX Series
vlan (all | vlan-id | vlan-name) { bridge-priority priority; forward-delay seconds; hello-time seconds; interface (all | interface-name) { 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 | world-readable | no-world-readable>; flag flag; } }
Description
Configure VSTP VLAN parameters.
Tip:
To display a list of all configured VLANs on the system, including VLANs that are configured but not committed, type ? after vlan or vlans in your configuration mode command line. Note that only one VLAN is displayed for a VLAN range.
Options
all |
All VLANs. |
vlan-id | Numeric VLAN identifier. |
vlan-range | Name of the VLAN range. |
The remaining statements are explained separately. See CLI Explorer.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 9.0.
Support for logical systems added in Junos OS Release 9.6.