Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

private-vlan

 

Syntax

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 14.1X53-D10 for EX Series switches.

Statement introduced in Junos OS Release 14.1X53-D15 for QFX Series switches.

Description

Configure a secondary VLAN ( either an isolated VLAN or a community VLAN) within a private VLAN (PVLAN) and specify a VLAN ID for that secondary VLAN. This statement essentially converts a VLAN into a PVLAN, by carving out discrete subdomains (secondary VLANs) within the primary VLAN. You must specify a VLAN ID for each secondary PVLAN.

Note

After you have configured the secondary VLAN, you must also configure its association with a specific primary VLAN. See isolated-vlan and community-vlan for additional information.

Options

  • isolated — The VLAN specified by vlan-name is defined as an isolated VLAN and a VLAN-ID is assigned to it. An isolated VLAN receives packets only from the primary VLAN and forwards frames upstream to the primary VLAN. The VLAN name is optional. The VLAN ID is required.

  • community — The VLAN specified by vlan-name is defined as community VLAN and a VLAN-ID is assigned to it. A community VLAN used to transport frames among members of a community, which is a subset of users within the VLAN, and to forward frames upstream to the primary VLAN. The VLAN name is optional. The VLAN ID is required.

Required Privilege Level

system—To view this statement in the configuration.

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