Configuring The Allowed Vlans For Pvlan Trunking Ports - 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
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# system private-vlan fex trunk
Step 3
switch(config)# copy running-config
startup-config
This example shows how to configure a PVLAN over a FEX trunk port:
switch# configure terminal
switch(config)# system private-vlan fex trunk
switch(config)# copy running-config startup-config

Configuring the Allowed VLANs for PVLAN Trunking Ports

Isolated trunk and promiscuous trunk ports can carry traffic from regular VLANs along with PVLANs.
Before You Begin
Ensure that the PVLAN feature is enabled.
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# interface type [chassis/]slot/port
3. switch(config-if)# switchport private-vlan trunk allowed vlan {vlan-list | all | none [add | except | none
| remove {vlan-list}]}
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# interface type
[chassis/]slot/port
Step 3
switch(config-if)# switchport private-vlan
trunk allowed vlan {vlan-list | all | none [add
| except | none | remove {vlan-list}]}
OL-25842-01
Purpose
Enters global configuration mode.
Enables PVLANs on FEX trunk ports.
(Optional)
Saves the change persistently through reboots and restarts by
copying the running configuration to the startup configuration.
Purpose
Enters global configuration mode.
Selects the port to configure as a PVLAN host port. This port can be
on a FEX (identified by the chassis option).
Sets the allowed VLANs for the private trunk interface. The default
is to allow only mapped/associated VLANs on the PVLAN trunk
interface.
Note
The primary VLANs do not need to be explicitly added to the
allowed VLAN list. They are added automatically once there
is a mapping between primary and secondary VLANs.
Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.1(3)N1(1)
Configuring the Allowed VLANs for PVLAN Trunking Ports
65

Advertisement

Table of Contents
loading

Table of Contents