Verifying Private Vlan Configuration - Cisco AJ732A - MDS 9134 Fabric Switch Configuration Manual

Cisco nexus 5000 series switch cli software configuration guide, nx-os 4.0(1a)n1 (ol-16597-01, january 2009)
Hide thumbs Also See for AJ732A - Cisco MDS 9134 Fabric Switch:
Table of Contents

Advertisement

Verifying Private VLAN Configuration

S e n d f e e d b a c k 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
Command
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}
This example shows how to configure port 1/2 as a promiscuous port associated with the primary VLAN
5 and the secondary isolated VLAN 109:
switch# configure terminal
switch(config)# interface ethernet 1/2
switch(config-if)# switchport mode private-vlan promiscuous
switch(config-if)# switchport private-vlan mapping 5 109
You can only apply this command to a physical interface.
To clear the private VLAN mapping, perform this task:
Command
switch(config-if)# no switchport
private-vlan mapping
Verifying Private VLAN Configuration
To display private VLAN configuration information, use the following commands:
Command
switch# show system internal clis
feature
switch# show vlan private-vlan [type]
switch# show interface switchport
The following example shows how to display the private VLAN configuration:
switch# show vlan private-vlan
Primary
-------
5
5
5
5
5
switch# show vlan private-vlan type
Vlan Type
---- -----------------
5
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
7-10
Secondary
Type
---------
---------------
100
community
101
community
102
community
103
community
109
isolated
primary
Purpose
Configures the port as a promiscuous port for a private
VLAN. 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.
Purpose
Clears the mapping from the private VLAN.
Purpose
Displays the features enabled on the switch.
Displays the status of the private VLAN.
Displays information on all interfaces configured as
switch ports.
Ports
-------------------------------------------
Eth1/12, veth1/1
Eth1/2
Chapter 7
Configuring Private VLANs
OL-16597-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents