Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Guide That Contains This Content
[+] Expand All
[-] Collapse All

    vlan (VSTP)


    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;}}

    Hierarchy Level

    [edit protocols vstp]

    Release Information

    Statement introduced in Junos OS Release 9.4 for EX Series switches.


    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.



    All VLANs.


    Numeric VLAN identifier.


    Name of the VLAN range.

    The remaining statements are explained separately.

    Required Privilege Level

    routing—To view this statement in the configuration.

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

    Modified: 2016-08-12