Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

vlan-id (VLANs)

Syntax

vlan-id number;

Hierarchy Level

For platforms without ELS:

[edit vlans vlan-name vlan-range]

For platforms without ELS and with ELS:

[edit vlans vlan-name]

For ELS platforms only:

[edit interfaces interface-name unit number][edit vlans vlan-name vlan-id-list]

Release Information

Statement introduced in Junos OS Release 11.1 for the QFX Series.

Description

Configure an 802.1Q tag to apply to all traffic that originates on the VLAN.

Default

On a QFX3500 and QFX3500 switch, if you use the default factory configuration, all traffic originating on the VLAN is untagged and has a VLAN identifier of 1. The number zero is reserved for priority tagging and the number 4093 is also reserved.

On a QFX5100 switch, if you use the default factory configuration, all traffic originating on the VLAN is untagged and has a VLAN identifier of 1. The number zero is reserved for priority tagging and the number 4093 is also reserved.

Note: You can only create up 4090 VLANs on a QFX5100 switch. If you create more than 4090 VLANs, the interfaces associated with the extra VLANs are not displayed in the show vlans command output. For example, if you create 4094 VLANs, the extra VLANs will not have interfaces associated with the VLANs. The order in which you configure the extra VLANs determines which interfaces are missing from the show vlans command output.

Options

number —VLAN tag identifier.

Range: 0 through 4093.

Required Privilege Level

routing—To view this statement in the configuration.

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

Published: 2014-07-23

Supported Platforms

Published: 2014-07-23