hit counter script

Configuring A Vlan As A Private Vlan - Cisco Nexus 3000 series Configuration Manual

Nx-os layer 2
Hide thumbs Also See for Nexus 3000 series:
Table of Contents

Advertisement

Configuring Private VLANs
Command or Action
This example shows how to enable the private VLAN feature on the switch:
switch# configure terminal
switch(config)# feature private-vlan

Configuring a VLAN as a Private VLAN

To create a private VLAN, you first create a VLAN, and then configure that VLAN to be a private VLAN.
Before You Begin
Ensure that the private VLAN feature is enabled.
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# vlan {vlan-id | vlan-range}
3. switch(config-vlan)# private-vlan {community | isolated | primary}
4. (Optional) switch(config-vlan)# no private-vlan {community | isolated | primary}
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# vlan {vlan-id | vlan-range}
Step 3
switch(config-vlan)# private-vlan
{community | isolated | primary}
Step 4
switch(config-vlan)# no private-vlan
{community | isolated | primary}
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
Purpose
Purpose
Enters configuration mode.
Places you into the VLAN configuration submode.
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.
(Optional)
Removes the private VLAN 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.
Cisco Nexus 3000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U1(1)
Configuring a VLAN as a Private VLAN
39

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents