Configuring A Promiscuous Trunk Port - Cisco nexus 5000 series Configuration Manual

Nx-os layer 2
Hide thumbs Also See for nexus 5000 series:
Table of Contents

Advertisement

Configuring a Promiscuous Trunk Port

This example shows how to configure Ethernet interface 1/4 as a promiscuous port associated with primary
VLAN 5 and secondary isolated VLAN 200:
switch# configure terminal
switch(config)# interface ethernet 1/4
switch(config-if)# switchport mode private-vlan promiscuous
switch(config-if)# switchport private-vlan mapping 5 200
Configuring a Promiscuous Trunk Port
In a PVLAN domain, promiscuous trunks are part of the primary VLAN. Promiscuous trunk ports can carry
multiple primary VLANs. Multiple secondary VLANs under a given primary VLAN can be mapped to a
promiscuous trunk port.
Configuring a promiscuous port involves two steps. First, you define the port as a promiscuous port and then
you configure the mapping between a secondary VLAN and the primary VLAN. Multiple primary VLANs
can be enabled by configuring multiple mappings.
The number of mappings on a PVLAN trunk port is limited to 16.
Note
Before You Begin
Ensure that the PVLAN feature is enabled.
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# interface type slot/port
3. switch(config-if)# switchport mode private-vlan trunk promiscuous
4. switch(config-if)# switchport private-vlan mapping trunk {primary-vlan-id} {secondary-vlan-id}
5. (Optional) switch(config-if)# no switchport private-vlan mapping trunk [primary-vlan-id]
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# interface type slot/port
Step 3
switch(config-if)# switchport mode private-vlan
trunk promiscuous
Step 4
switch(config-if)# switchport private-vlan
mapping trunk {primary-vlan-id}
{secondary-vlan-id}
Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.1(3)N1(1)
62
Purpose
Enters global configuration mode.
Selects the port to configure as a PVLAN promiscuous trunk port.
Configures the port as a promiscuous trunk port for a PVLAN.
You can only enable a physical Ethernet port as the promiscuous
port. This port cannot be on a FEX.
Maps the trunk port with the primary and secondary VLANs of
a PVLAN. The secondary VLAN can be either an isolated or
community VLAN.
Configuring Private VLANs
OL-25842-01

Advertisement

Table of Contents
loading

Table of Contents