primary-vlan
Syntax
Hierarchy Level
- [edit vlans vlan-name]
Release Information
Statement introduced in JUNOS Release 9.3 for EX-series switches.
Statement updated with enhanced ? (CLI completion feature) functionality in JUNOS Release 9.5 for EX-series switches.
Description
Configure the primary VLAN for this community VLAN. The primary VLAN must be tagged, and the community VLAN must be untagged.
![]() |
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.

