Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

private-vlan

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
private-vlan (isolated | community) vlan-id number;

Hierarchy Level

content_copy zoom_out_map
[edit vlans vlan-name]

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.

Release Information

Statement introduced in Junos OS Release 14.1X53-D10.

footer-navigation