Associating Secondary Vlans With A Primary Private Vlan - Cisco AP775A - Nexus Converged Network Switch 5010 Configuration Manual

Cli software configuration guide
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

Associating Secondary VLANs with a Primary Private VLAN

This example shows how to assign VLAN 5 to a private VLAN as the primary VLAN:
switch# configure terminal
switch(config)# vlan 5
switch(config-vlan)# private-vlan primary
This example shows how to assign VLAN 100 to a private VLAN as a community VLAN:
switch# configure terminal
switch(config)# vlan 100
switch(config-vlan)# private-vlan community
This example shows how to assign VLAN 200 to a private VLAN as an insolated VLAN:
switch# configure terminal
switch(config)# vlan 200
switch(config-vlan)# private-vlan isolated
Associating Secondary VLANs with a Primary Private VLAN
When you associate secondary VLANs with a primary VLAN, follow these guidelines:
• The secondary-vlan-list parameter cannot contain spaces. It can contain multiple comma-separated items.
• The secondary-vlan-list parameter can contain multiple community VLAN IDs and one isolated VLAN
• Enter a secondary-vlan-list or use the add keyword with a secondary-vlan-list to associate secondary
• Use the remove keyword with a secondary-vlan-list to clear the association between secondary VLANs
• 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 VLAN becomes inactive on the port where the
association is configured. When you enter the no private-vlan command, the VLAN returns to the normal
VLAN mode. All primary and secondary associations on that VLAN are suspended, but the interfaces remain
in private VLAN mode. If you again convert 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 are reinstated 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.
Procedure
Step 1
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
94
Each item can be a single secondary VLAN ID or a hyphenated range of secondary VLAN IDs.
ID.
VLANs with a primary VLAN.
and a primary VLAN.
and then adding the desired association.
Command or Action
switch# configure terminal
Configuring a Private VLAN
Purpose
Enters configuration mode.
OL-16597-01

Advertisement

Table of Contents
loading

Table of Contents