Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

vlans

 

List of Syntax

Syntax (QFX Series, QFabric, NFX Series and EX4600)

Syntax (QFX Series, NFX Series and EX4600)

Syntax (SRX Series and EX Series)

Syntax (SRX Series)

Syntax (vSRX)

Syntax (QFX Series, QFabric, NFX Series and EX4600)

Syntax (QFX Series, NFX Series and EX4600)

Syntax (SRX Series and EX Series)

Syntax (SRX Series)

Syntax (vSRX)

Hierarchy Level

Release Information

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

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

Statements for private VLANs and Q-in-Q tunneling introduced in Junos OS Release 12.1 for the QFX Series.

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

Statement introduced in Junos OS Release 15.1X49-D10.

Description

Configure VLAN properties.

On EX Series switches and SRX Series devices (including vSRX), the following configuration guidelines apply:

  • Only private VLAN (PVLAN) firewall filters can be used when the VLAN is enabled for Q-in-Q tunneling.

  • An S-VLAN tag is added to the packet if the VLAN is Q-in-Q-tunneled and the packet is arriving from an access interface.

  • You cannot use a firewall filter to assign an integrated routing and bridging (IRB) interface or a routed VLAN interface (RVI) to a VLAN.

  • VLAN assignments performed using a firewall filter override all other VLAN assignments.

Default

If you use the default factory configuration, all switch interfaces become part of the VLAN default.

Options

vlan-name—Name of the VLAN. The name can include letters, numbers, hyphens (-), and periods (.) and can contain up to 255 characters long.

The remaining statements are explained separately. See CLI Explorer.

The remaining statements are described separately.

Required Privilege Level

routing—To view this statement in the configuration.

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

system—To view this statement in the configuration.

system–control—To add this statement to the configuration.