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
Command
History
Version 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.
Private VLAN (PVLAN)
1053