Cisco Nexus 7000 Series Configuration Manual page 82

Nx-os layer 2 switching
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring a VLAN as a Private VLAN
You create all VLANs that you want to use in the private VLAN as a primary VLAN, a community VLAN,
or an isolated VLAN. You will later associate multiple isolated and multiple community VLANs to one
primary VLAN. You can have many primary VLANs and associations, which means that you could have
many private VLANs.
If you delete either the primary or secondary VLAN, the ports that are associated with the VLAN become
inactive.
On private VLAN trunk ports, if you delete either the secondary or primary VLAN, only that specific VLAN
becomes inactive; the trunk ports stay up.
Before You Begin
Ensure that the private VLAN feature is enabled.
Ensure that you are in the correct VDC (or enter the switchto vdc command). You can repeat VLAN names
and IDs in different VDCs, so you must confirm that you are working in the correct VDC
SUMMARY STEPS
1. config t
2. vlan {vlan-id | vlan-range}
3. Enter one of the following commands:
4. exit
5. (Optional) show vlan private-vlan [type]
6. (Optional) copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
config t
Example:
switch# config t
switch(config)#
Step 2
vlan {vlan-id | vlan-range}
Example:
switch(config)# vlan 5
switch(config-vlan)#
Step 3
Enter one of the following commands:
Option
private-vlan
{community | isolated
| primary}
Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x
66
Description
Configures the VLAN as either a community,
isolated, or primary private VLAN. In a private
VLAN, you must have one primary VLAN. You
can have multiple community and isolated
VLANs.
Configuring Private VLANs Using NX-OS
Purpose
Enters global configuration mode.
Places you into VLAN configuration
submode.

Advertisement

Table of Contents
loading

Table of Contents