Cisco Nexus 9000 Series Configuration Manual page 71

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

Advertisement

Configuring Private VLANs Using NX-OS
If you delete either the primary or secondary VLAN, the ports that are associated with the VLAN become
inactive.
On private VLAN trunk ports, if you delete either the secondary or primary VLAN, only that specific VLAN
becomes inactive; the trunk ports stay up.
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
This example shows how to assign VLAN 5 to a private VLAN as the primary VLAN:
switch# config t
switch(config)# vlan 5
switch(config-vlan)# private-vlan primary
Command or Action
config t
Example:
switch# config t
switch(config)#
vlan {vlan-id | vlan-range}
Example:
switch(config)# vlan 5
switch(config-vlan)#
[no] private-vlan {community | isolated
| primary}
Example:
switch(config-vlan)# private-vlan
primary
exit
Example:
switch(config-vlan)# exit
switch(config)#
show vlan private-vlan [type]
Example:
switch# show vlan private-vlan
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Cisco Nexus 9000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
Configuring a VLAN as a Private VLAN - CLI Version
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.
or
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.
Exits the VLAN configuration submode.
(Optional)
Displays the private VLAN configuration.
(Optional)
Copies the running configuration to the startup
configuration.
57

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents