CLI Guide
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 Full—Switch
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.
Private VLAN (PVLAN)
1199