private-vlan mode
Set PVLAN mode of the selected VLAN to community, isolated, or primary.
C-Series, S-Series, Z-Series, S4810
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
Command History
Version 8.3.11.1 Introduced on the Z9000.
Version 8.3.7.0 Introduced on the S4810.
Version 7.8.1.0 Introduced on the C-Series and S-Series.
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 
described above) 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.
1159