Switchport Private-Vlan Mapping - 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 mapping

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 mapping
To define the private VLAN association for a promiscuous port, use the switchport private-vlan mapping
command. To clear all mapping from the primary VLAN, use the no form of this command.
Syntax Description
primary-vlan-id
add
secondary-vlan-id
remove
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-promiscuous mode. If the port is in
private VLAN-promiscuous mode but the primary VLAN does not exist, the command is allowed but the
port is made inactive.
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 the associate primary VLAN 18 to secondary isolated VLAN 20
on a private VLAN promiscuous port:
switch(config-if)# switchport private-vlan mapping 18 20
This example shows how to add a VLAN to the association on the promiscuous port:
switch(config-if)# switchport private-vlan mapping 18 add 21
Cisco Nexus 5000 Series Command Reference
2-98
switchport private-vlan mapping {primary-vlan-id} {[add] secondary-vlan-id | remove
secondary-vlan-id}
no switchport private-vlan mapping
Number of the primary VLAN of the private VLAN relationship.
(Optional) Associates the secondary VLANs to the primary VLAN.
Number of the secondary VLAN of the private VLAN relationship.
Clears the association between the secondary VLANs and the primary
VLAN.
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