HP Cisco MDS 9216i Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 246
switchport private-vlan mapping
View all HP Cisco MDS 9216i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 246 highlights
switchport private-vlan mapping Chapter 2 Ethernet Commands Send comments to [email protected] 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. switchport private-vlan mapping {primary-vlan-id} {[add] secondary-vlan-id | remove secondary-vlan-id} no switchport private-vlan mapping Syntax Description primary-vlan-id add secondary-vlan-id remove 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. Command Default None Command Modes Interface configuration mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. 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 private-vlan command for more information on primary VLANs, secondary VLANS, and isolated or community ports. Note A PVLAN isolated port on a Cisco Nexus 5000 Series switch running the current release of Cisco 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 2-98 Cisco Nexus 5000 Series Command Reference OL-16599-01