Cisco Nexus 7000 Series Configuration Manual page 84

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

Advertisement

Associating Secondary VLANs with a Primary Private VLAN
• You change the association between a secondary and primary VLAN by removing the existing association
If you delete either the primary or secondary VLAN, the ports that are associated with the VLAN become
inactive.
When you enter the no private-vlan command, the VLAN returns to the normal VLAN mode. All associations
on that VLAN are suspended, but the interfaces remain in private VLAN mode.
When you reconvert the specified VLAN to private VLAN mode, the original associations are reinstated.
If you enter the no vlan command for the primary VLAN, all private VLAN associations with that VLAN
are lost. However, if you enter the no vlan command for a secondary VLAN, the private VLAN associations
with that VLAN are suspended and return when you recreate the specified VLAN and configure it as the
previous secondary VLAN.
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 primary-vlan-id
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 primary-vlan-id
Example:
switch(config)# vlan 5
switch(config-vlan)#
Step 3
Enter one of the following commands:
Option
private-vlan association
{[add] secondary-vlan-list |
remove secondary-vlan-list}
Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x
68
and then adding the desired association.
Description
Associates the secondary VLANs
with the primary VLAN.
Configuring Private VLANs Using NX-OS
Purpose
Enters global configuration mode.
Enters the number of the primary VLAN that
you are working in for the private VLAN
configuration.

Advertisement

Table of Contents
loading

Table of Contents