Configuring A Promiscuous Trunk Port; Configuring An Isolated Trunk Port - Cisco AP775A - Nexus Converged Network Switch 5010 Configuration Manual

Cli software configuration guide
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

Configuring a Private VLAN

Configuring a Promiscuous Trunk Port

In a private VLAN 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.
Before You Begin
Ensure that the private VLAN feature is enabled.
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
This example shows how to configure Ethernet interface 1/1 as a promiscuous trunk port for a private VLAN
and then map the secondary VLANs to the primary VLAN:
switch# configure terminal
switch(config)# interface ethernet 1/1
switch(config-if)# switchport mode private-vlan trunk promiscuous
switch(config-if)# switchport private-vlan mapping trunk 5 100
switch(config-if)# switchport private-vlan mapping trunk 5 200
switch(config-if)# switchport private-vlan mapping trunk 6 300

Configuring an Isolated Trunk Port

In a private VLAN domain, isolated trunks are part of a secondary VLAN. Isolated trunk ports can carry
multiple isolated VLANs. Only one isolated VLAN under a given primary VLAN can be associated to an
isolated trunk port. Configuring an isolated trunk port involves two steps. First, you define the port as an
isolated trunk port and then you configure the association between the isolated and primary VLANs. Multiple
isolated VLANs can be enabled by configuring multiple associations.
OL-16597-01
Command or Action
switch# configure terminal
switch(config)# interface type slot/port
switch(config-if)# switchport mode
private-vlan trunk promiscuous
switch(config-if)# switchport
private-vlan mapping trunk
{primary-vlan-id} {secondary-vlan-id}
switch(config-if)# no switchport
private-vlan mapping trunk
[primary-vlan-id]
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Configuring a Promiscuous Trunk Port
Purpose
Enters configuration mode.
Selects the port to configure as a private VLAN
promiscuous trunk port.
Configures the port as a promiscuous trunk port for a
private VLAN. You can only enable a physical Ethernet
port as the promiscuous port. This port cannot be on a
Fabric Extender.
Maps the trunk port with the primary and secondary
VLANs of a private VLAN. The secondary VLAN can
be either an isolated or community VLAN.
(Optional)
Removes the private VLAN mapping from the port. If
the primary-vlan-id is not supplied, all private VLAN
mappings are removed from the port.
97

Advertisement

Table of Contents
loading

Table of Contents