Configuring Native 802.1Q Vlans On Private Vlans - Cisco nexus 5000 series Configuration Manual

Nx-os layer 2
Hide thumbs Also See for nexus 5000 series:
Table of Contents

Advertisement

Configuring Native 802.1Q VLANs on Private VLANs

This example shows how to add VLANs to the list of allowed VLANs on an Ethernet PVLAN trunk port:
switch# configure terminal
switch(config)# interface ethernet 1/3
switch(config-if)# switchport private-vlan trunk allowed vlan 15-20
Configuring Native 802.1Q VLANs on Private VLANs
Typically, you configure 802.1Q trunks with a native VLAN ID, which strips tagging from all packets on that
VLAN. This configuration allows untagged traffic and control traffic to transit the Cisco Nexus device.
Secondary VLANs cannot be configured with a native VLAN ID on promiscuous trunk ports. Primary VLANs
cannot be configured with a native VLAN ID on isolated trunk ports.
A trunk can carry the traffic of multiple VLANs. Traffic that belongs to the native VLAN is not encapsulated
Note
to transit the trunk. Traffic for other VLANs is encapsulated with tags that identify the VLAN that the
traffic belongs to.
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 native {vlan vlan-id}
4. (Optional) switch(config-if)# no switchport private-vlan trunk native {vlan vlan-id}
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
native {vlan vlan-id}
Step 4
switch(config-if)# no switchport private-vlan trunk
native {vlan vlan-id}
Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.1(3)N1(1)
66
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 native VLAN ID for the PVLAN trunk. The default
is VLAN 1.
(Optional)
Removes the native VLAN ID from the PVLAN trunk.
Configuring Private VLANs
OL-25842-01

Advertisement

Table of Contents
loading

Table of Contents