Configuring A Vlan As A 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

Configuring a Private VLAN
The private VLAN commands do not appear until you enable the private VLAN feature.
Note
Procedure
Step 1
Step 2
Step 3
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.
Procedure
Step 1
Step 2
Step 3
Step 4
OL-16597-01
Command or Action
switch# configure terminal
switch(config)# feature private-vlan
switch(config)# no feature
private-vlan
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}
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Configuring a VLAN as a Private VLAN
Purpose
Enters configuration mode.
Enables the private VLAN feature on the switch.
(Optional)
Disables the private VLAN feature on the switch.
You cannot disable private VLANs if there
Note
are operational ports on the switch that are in
private VLAN mode.
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.
93

Advertisement

Table of Contents
loading

Table of Contents