Configuring Private VLANs
Configuring a Private VLAN
Enabling Private VLANs
You must enable PVLANs on the switch to use the PVLAN functionality.
The PVLAN commands do not appear until you enable the PVLAN feature.
Note
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# feature private-vlan
3. (Optional) switch(config)# no feature private-vlan
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# feature private-vlan
Step 3
switch(config)# no feature private-vlan
This example shows how to enable the PVLAN feature on the switch:
switch# configure terminal
switch(config)# feature private-vlan
Configuring a VLAN as a Private VLAN
To create a PVLAN, you first create a VLAN, and then configure that VLAN to be a PVLAN.
Before You Begin
Ensure that the PVLAN feature is enabled.
OL-25842-01
Purpose
Enters global configuration mode.
Enables the PVLAN feature on the switch.
(Optional)
Disables the PVLAN feature on the switch.
Note
Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.1(3)N1(1)
Configuring a Private VLAN
You cannot disable PVLANs if there are operational ports
on the switch that are in PVLAN mode.
57