Switchport Private-Vlan Host-Association - Cisco AP775A - Nexus Converged Network Switch 5010 Command Reference Manual

Cisco nexus 5000 series command reference, release 4.1(3)n1(1) (ol-16599-01, august 2009)
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

switchport private-vlan host-association

S e n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
switchport private-vlan host-association
To define a private VLAN association for an isolated or community port, use the switchport private-vlan
host-association command. To remove the private VLAN association from the port, use the no form of
this command.
Syntax Description
primary-vlan-id
secondary-vlan-id
Command Default
None
Command Modes
Interface configuration mode
Command History
Release
4.0(0)N1(1a)
Usage Guidelines
There is no run-time effect on the port unless it is in private VLAN-host mode. If the port is in private
VLAN-host mode but neither of the VLANs exist, the command is allowed but the port is made inactive.
The port also may be inactive when the association between the private VLANs is suspended.
The secondary VLAN may be an isolated or community VLAN.
See the
isolated or community ports.
A PVLAN isolated port on a Cisco Nexus 5000 Series switch running the current release of Cisco
Note
NX-OS does not support IEEE 802.1q encapsulation and cannot be used as a trunk port.
Examples
This example shows how to configure a Layer 2 host private VLAN port with a primary VLAN (VLAN
18) and a secondary VLAN (VLAN 20):
switch(config-if)# switchport private-vlan host-association 18 20
This example shows how to remove the private VLAN association from the port:
switch(config-if)# no switchport private-vlan host-association
Cisco Nexus 5000 Series Command Reference
2-96
switchport private-vlan host-association {primary-vlan-id} {secondary-vlan-id}
no switchport private-vlan host-association
Number of the primary VLAN of the private VLAN relationship.
Number of the secondary VLAN of the private VLAN relationship.
Modification
This command was introduced.
private-vlan
command for more information on primary VLANs, secondary VLANS, and
Chapter 2
Ethernet Commands
OL-16599-01

Advertisement

Table of Contents
loading

Table of Contents