Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
keyboard_arrow_right

vlan (VSTP)

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
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

content_copy zoom_out_map
                         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

content_copy zoom_out_map
[edit logical-systems logical-system-name protocols vstp],
[edit protocols vstp]

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.

external-footer-nav