Associating Secondary Vlans With A Primary Private Vlan - Cisco Nexus 3000 Series Configuration Manual

Nx-os layer 2 switching configuration guide, release 6.x
Hide thumbs Also See for Nexus 3000 Series:
Table of Contents

Advertisement

Configuring Private VLANs
Before You Begin
Ensure that the PVLAN feature is enabled.
Procedure
Step 1
Step 2
Step 3
Step 4
This example shows how to assign VLAN 5 to a PVLAN 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 PVLAN 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 PVLAN as an isolated 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
OL-29545-03
Command or Action
switch# configure terminal
switch(config)# vlan {vlan-id |
vlan-range}
switch(config-vlan)# private-vlan
{community | isolated | primary}
switch(config-vlan)# no private-vlan
{community | isolated | primary}
Each item can be a single secondary VLAN ID or a hyphenated range of secondary VLAN IDs.
ID.
VLANs with a primary VLAN.
Cisco Nexus 3000 Series NX-OS Layer 2 Switching Configuration Guide, Release 6.x
Associating Secondary VLANs with a Primary Private VLAN
Purpose
Enters global configuration mode.
Places you into the VLAN configuration submode.
Configures the VLAN as either a community, isolated,
or primary PVLAN. In a PVLAN, you must have one
primary VLAN. You can have multiple community and
isolated VLANs.
(Optional)
Removes the PVLAN configuration from the specified
VLAN(s) and returns it to normal VLAN mode. If you
delete either the primary or secondary VLAN, the ports
that are associated with the VLAN become inactive.
25

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents