White Papers

Table Of Contents
Specified with this command even before they have been created.
Amended by specifying the new secondary VLAN to be added to the list.
Related
Commands
private-vlan mode sets the mode of the selected VLAN to community, isolated, or primary.
show interfaces private-vlan displays the type and status of the PVLAN interfaces.
show vlan private-vlan displays the PVLANs and/or interfaces that are part of a PVLAN.
show vlan private-vlan mapping displays the primary-secondary VLAN mapping.
switchport mode private-vlan sets PVLAN mode of the selected port.
private-vlan mode
Set PVLAN mode of the selected VLAN to community, isolated, or primary.
Syntax
[no] private-vlan mode {community | isolated | primary}
To remove the PVLAN configuration, use the no private-vlan mode {community | isolated
| primary} command syntax.
Parameters
community Enter the keyword community to set the VLAN as a community VLAN.
isolated Enter the keyword isolated to configure the VLAN as an isolated VLAN.
primary Enter the keyword primary to configure the VLAN as a primary VLAN.
Defaults none
Command Modes INTERFACE VLAN
Supported Modes FullSwitch
Command
History
Version Description
9.9(0.0) Introduced on the FN IOM.
8.3.16.1 Introduced on the MXL 10/40GbE Switch IO Module.
Usage
Information
The VLAN:
can be in only one mode, either community, isolated, or primary.
mode ode to community or isolated even before associating it to a primary VLAN. This secondary
VLAN continues to work normally as a normal VLAN even though it is not associated to a primary
VLAN. (A syslog message indicates this.)
must not have a port in it when VLAN mode is being set.
Only ports (and port channels) configured as promiscuous, host, or PVLAN trunk ports (as previously
described) can be added to the PVLAN. No other regular ports can be added to the PVLAN.
After using this command to configure a VLAN as a primary VLAN, use the private-vlan mapping
secondary-vlan command to map secondary VLANs to this VLAN.
Related
Commands
private-vlan mapping secondary-vlan maps secondary VLANs to the selected primary VLAN.
show interfaces private-vlan displays the type and status of the PVLAN interfaces.
show vlan private-vlan displays the PVLANs and/or interfaces that are part of a PVLAN.
show vlan private-vlan mapping displays the primary-secondary VLAN mapping.
switchport mode private-vlan sets PVLAN mode of the selected port.
924 Private VLAN (PVLAN)