Configuring An Interface As A Private Vlan Promiscuous Port - Cisco nexus 5000 series Configuration Manual

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

Advertisement

Configuring Private VLANs
This example shows how to configure Ethernet port 1/12 as a host port for a PVLAN and associate it to
primary VLAN 5 and secondary VLAN 101:
switch# configure terminal
switch(config)# interface ethernet 1/12
switch(config-if)# switchport mode private-vlan host
switch(config-if)# switchport private-vlan host-association 5 101

Configuring an Interface as a Private VLAN Promiscuous Port

In a PVLAN domain, promiscuous ports are part of the primary VLAN. 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.
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 promiscuous
4. switch(config-if)# switchport private-vlan mapping {primary-vlan-id} {secondary-vlan-list | add
secondary-vlan-list | remove secondary-vlan-list}
5. (Optional) switch(config-if)# no switchport private-vlan mapping
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
promiscuous
Step 4
switch(config-if)# switchport private-vlan
mapping {primary-vlan-id} {secondary-vlan-list |
add secondary-vlan-list | remove
secondary-vlan-list}
Step 5
switch(config-if)# no switchport private-vlan
mapping
OL-25842-01
Purpose
Enters global configuration mode.
Selects the port to configure as a PVLAN promiscuous port. A
physical interface is required. This port cannot be on a FEX.
Configures the port as a promiscuous port for a PVLAN. You
can only enable a physical Ethernet port as the promiscuous port.
Configures the port as a promiscuous port and associates the
specified port with a primary VLAN and a selected list of
secondary VLANs. The secondary VLAN can be either an
isolated or community VLAN.
(Optional)
Clears the mapping from the PVLAN.
Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.1(3)N1(1)
Configuring an Interface as a Private VLAN Promiscuous Port
61

Advertisement

Table of Contents
loading

Table of Contents