Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

primary-vlan

Syntax

primary-vlan vlan-name;

Hierarchy Level

[edit vlans vlan-name]

Release Information

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

Description

Configure the primary VLAN for this community VLAN. The primary VLAN must be tagged, and the community VLAN must be untagged.

If you want to create a community VLAN, you must configure the primary VLAN to be private using the pvlan statement.

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.

Required Privilege Level

routing—To view this statement in the configuration.

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

Published: 2013-09-24