Configuring The Allowed Vlans For Pvlan Trunking Ports - 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 the Allowed VLANs for PVLAN Trunking Ports

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 secondary
switch(config-if)# switchport private-vlan association 5 100
switch(config-if)# switchport private-vlan association 6 200
Configuring the Allowed VLANs for PVLAN Trunking Ports
Isolated trunk and promiscuous trunk ports can carry traffic from regular VLANs along with private VLANs.
Before You Begin
Ensure that the private VLAN feature is enabled.
Procedure
Step 1
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
98
Command or Action
switch# configure terminal
switch(config)# interface type
[chassis/]slot/port
switch(config-if)# switchport mode
private-vlan trunk [secondary]
switch(config-if)# switchport
private-vlan association trunk
{primary-vlan-id} {secondary-vlan-id}
switch(config-if)# no switchport
private-vlan association trunk
[primary-vlan-id]
Command or Action
switch# configure terminal
Purpose
Enters configuration mode.
Selects the port to configure as a private VLAN isolated
trunk port. This port can be on a Fabric Extender
(identified by the chassis option).
Configures the port as a secondary trunk port for a
private VLAN.
Note
The secondary keyword is assumed if it is not
present.
Associates the isolated trunk port with the primary and
secondary VLANs of a private VLAN. The secondary
VLAN should be an isolated VLAN. Only one isolated
VLAN can be mapped under a given primary VLAN.
(Optional)
Removes the private VLAN association from the port.
If the primary-vlan-id is not supplied, all private VLAN
associations are removed from the port.
Purpose
Enters configuration mode.
Configuring a Private VLAN
OL-16597-01

Advertisement

Table of Contents
loading

Table of Contents