Reference Guide

Private VLAN (PVLAN) | 915
Command
History
Related
Commands
private-vlan mode
c s
Set the 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
Defaults
none
Command Modes
INTERFACE VLAN
Command
History
Usage
Information
The VLAN:
Can be in only one mode, either community, isolated, or primary.
Mode can be set to community or isolated even before associating it to a primary VLAN. This
secondary VLAN will continue 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 the 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.
Version 8.3.11.1 Introduced on Z9000
Version 7.8.1.0 Introduced on C-Series and S-Series
private-vlan mode Set the mode of the selected VLAN to community, isolated, or primary.
private-vlan mapping
secondary-vlan
Map secondary VLANs to the selected primary VLAN.
show arp Display the ARP table.
show interfaces private-vlan Display type and status of PVLAN interfaces.
show vlan private-vlan Display PVLANs and/or interfaces that are part of a PVLAN.
switchport mode private-vlan Set the PVLAN mode of the selected port.
community Enter community to set the VLAN as a community VLAN, as described above.
isolated Enter isolated to configure the VLAN as an isolated VLAN, as described above.
primary Enter primary to configure the VLAN as a primary VLAN, as described above.
Version 8.3.11.1 Introduced on Z9000
Version 7.8.1.0 Introduced on C-Series and S-Series