160
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
OL-27880-02
Chapter F Commands
feature private-vlan
feature private-vlan
To enable private VLANs, use the
feature private-vlan
command. To return to the default settings, use
the
no
form of this command.
feature private-vlan
no feature private-vlan
Syntax Description
This command has no arguments or keywords.
Command Default
Private VLANs are disabled.
Command Modes
Global configuration mode
Command History
Usage Guidelines
The private VLAN commands are not available until you enable the private VLAN feature.
You cannot disable the private VLANs if there are operational ports on the switch that are in private
VLAN mode.
Note
A private VLAN-isolated port on a Cisco Nexus device running the current release of Cisco NX-OS does
not support IEEE 802.1Q encapsulation and cannot be used as a trunk port.
Examples
This example shows how to enable private VLAN functionality on the switch:
switch(config)#
feature private-vlan
Related Commands
Release
Modification
5.2(1)N1(1)
This command was introduced.
Command
Description
private-vlan
Configures a VLAN as either a community, isolated, or primary private
VLAN.
show vlan private-vlan
Displays information on private VLANs. If the feature is not enabled, this
command is not available.
show feature
Displays whether or not private VLAN is enabled on the switch.