Configuring A Vlan As A Private Vlan - Cisco Nexus 7000 Series Configuration Manual

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

Advertisement

Configuring Private VLANs Using NX-OS
SUMMARY STEPS
1. config t
2. feature private-vlan
3. exit
4. (Optional) copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
config t
Example:
switch# config t
switch(config)#
Step 2
feature private-vlan
Example:
switch(config)# feature private-vlan
switch(config)#
Step 3
exit
Example:
switch(config)# exit
switch#
Step 4
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
This example shows how to enable private VLAN functionality on the device:
switch# config t
switch(config)# feature private-vlan
switch(config)#

Configuring a VLAN as a Private VLAN

Before you configure a VLAN as a secondary VLAN—that is, either a community or isolated VLAN—you
Note
must first shut down the VLAN network interface.
You can configure 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.
Purpose
Enters global configuration mode.
Enables private VLAN functionality on the device.
Note
Exits global configuration mode.
(Optional)
Copies the running configuration to the startup configuration.
Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x
Configuring a VLAN as a Private VLAN
You cannot apply the no feature private-vlan
command if there are operational ports on the device
that are in private VLAN mode.
65

Advertisement

Table of Contents
loading

Table of Contents