Associating Primary And Secondary Vlans - Cisco Nexus 9000 Series Configuration Manual

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

Advertisement

Private VLAN Overview
You must enable the VLAN interface feature before you can configure the Layer 3 gateway. See the Cisco
Note
Nexus 9000 Series NX-OS Interfaces Configuration Guide for complete information on VLAN network
interfaces and IP addressing.

Associating Primary and Secondary VLANs

To allow the host ports in secondary VLANs to communicate outside the private VLAN, you associate
secondary VLANs to the primary VLAN. If the association is not operational, the host ports (isolated and
community ports) in the secondary VLAN are brought down.
You can associate a secondary VLAN with only one primary VLAN.
Note
For an association to be operational, the following conditions must be met:
• The primary VLAN must exist.
• The secondary VLAN must exist.
• The primary VLAN must be configured as a primary VLAN.
• The secondary VLAN must be configured as either an isolated or community VLAN.
See the show command display to verify that the association is operational. The device does not issue an
Note
error message when the association is nonoperational.
If you delete either the primary or secondary VLAN, the ports that are associated with the VLAN become
inactive. When you reconvert the specified VLAN to private VLAN mode, the original associations are
reinstated.
If the association is not operational on private VLAN trunk ports, only that VLAN goes down, not the entire
port.
When you enter the no private-vlan command, the VLAN returns to the normal VLAN mode. All associations
on that VLAN are suspended, but the interfaces remain in private VLAN mode.
If you enter the no vlan command for the primary VLAN, all private VLAN associations with that VLAN
are lost. However, if you enter the no vlan command for a secondary VLAN, the private VLAN associations
with that VLAN are suspended and return when you recreate the specified VLAN and configure it as the
secondary VLAN.
This behavior is different from how Catalyst devices work.
Note
Cisco Nexus 9000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
48
Configuring Private VLANs Using NX-OS

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents