Command Line Reference Guide

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 9.0(1.3) Introduced on the S5000.
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.
private-vlan mapping secondary-vlan
Map secondary VLANs to the selected primary VLAN.
S5000
Syntax
[no] private-vlan mapping secondary-vlan vlan-list
To remove specific secondary VLANs from the configuration, use the no private-vlan
mapping secondary-vlan vlan-list command syntax.
1071