Configuring a Private VLAN
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
•
•
•
•
•
•
Configuration Guidelines for Private VLANs
When configuring private VLANs, follow these guidelines:
•
•
•
Enabling Private VLANs
You must enable private VLANs on the switch to use the private VLAN functionality.
The private VLAN commands do not appear until you enable the private VLAN feature.
Note
To enable private VLAN functionality on the switch, perform this task:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# feature private-vlan
This example shows how to enable the private VLAN feature on the switch:
switch# configure terminal
switch(config)# feature private-vlan
To disable private VLAN functionality, perform this task:
Command
switch(config)# no feature private-vlan
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
1-6
Configuration Guidelines for Private VLANs, page 1-6
Enabling Private VLANs, page 1-6
Configuring a VLAN as a Private VLAN, page 1-7
Associating Secondary VLANs with a Primary Private VLAN, page 1-7
Configuring an Interface as a Private VLAN Host Port, page 1-8
Configuring an Interface as a Private VLAN Promiscuous Port, page 1-9
You must enable private VLANs before the switch can apply the private VLAN functionality.
You cannot disable private VLANs if the switch has any operational ports in a private VLAN mode.
Enter the private-vlan synchronize command to map the secondary VLANs to the same Multiple
Spanning Tree (MST) instance as the primary VLAN. See the
MSTI as Primary VLANs for Private VLANs" section on page 1-16
Chapter 1
"Mapping Secondary VLANs to Same
for more details.
Purpose
Enters configuration mode.
Enables the private VLAN feature on the switch.
Purpose
Disables the private VLAN feature on the switch.
You cannot disable private VLANs if there are
Note
operational ports on the switch that are in
private VLAN mode.
Configuring Private VLANs
OL-16597-01