Cisco Nexus 7000 Series Configuration Manual page 93

Nx-os layer 2 switching
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring Private VLANs Using NX-OS
SUMMARY STEPS
1. config t
2. interface {type slot/port}
3. switchport mode private-vlan promiscuous
4. Enter one of the following commands:
5. exit
6. (Optional) show interface switchport
7. (Optional) copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
config t
Example:
switch# config t
switch(config)#
Step 2
interface {type slot/port}
Example:
switch(config)# interface ethernet 2/1
switch(config-if)#
Step 3
switchport mode private-vlan promiscuous
Example:
switch(config-if)# switchport mode private-vlan promiscuous
Step 4
Enter one of the following commands:
Option
switchport private-vlan
mapping {primary-vlan-id}
{secondary-vlan-list | add
secondary-vlan-list | remove
secondary-vlan-list}
no switchport private-vlan
mapping
Example:
switch(config-if)# switchport private-vlan mapping 10 50
Configuring a Layer 2 Interface as a Private VLAN Promiscuous Port
Description
Configures the Layer 2 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.
Clears the mapping from the private
VLAN.
Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x
Purpose
Enters global configuration mode.
Selects the Layer 2 port to configure as a
private VLAN promiscuous port.
Configures the Layer 2 port as a promiscuous
port for a private VLAN.
77

Advertisement

Table of Contents
loading

Table of Contents