Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    primary-vlan

    Syntax

    primary-vlan vlan-name;

    Hierarchy Level

    [edit vlans vlan-name]

    Release Information

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

    Statement updated with enhanced ? (CLI completion feature) functionality in Junos OS Release 9.5 for EX Series switches.

    Description

    Configure the primary VLAN for this private VLAN (PVLAN). The primary VLAN is always tagged.

    • If the PVLAN is configured on a single switch, do not assign a tag to the community VLANs.
    • If the PVLAN is configured to span multiple switches, you must assign tags to the community VLANs also.

    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 name is displayed for a VLAN range.

    Required Privilege Level

    system—To view this statement in the configuration.

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

    Published: 2013-07-05