Tagging Native Vlan Traffic - Cisco Nexus 1000V Configuration Manual

For vmware vsphere
Hide thumbs Also See for Nexus 1000V:
Table of Contents

Advertisement

Tagging Native VLAN Traffic

Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
This example shows how to add VLANs 15 to 20 to the list of allowed VLANs on the Ethernet 3/1, Layer 2
trunk port:
switch# configure terminal
switch(config)# interface ethernet 3/1
switch(config-if)# switchport trunk allowed vlan 15-20
switch(config-if)#
Tagging Native VLAN Traffic
When working with 802.1Q trunked interfaces, you can maintain the tagging for all packets that enter with a
tag that matches the native VLAN ID. Untagged traffic is dropped (you will still carry control traffic on that
interface).
Cisco Nexus 1000V for VMware vSphere Interface Configuration Guide, Release 5.x
30
Command or Action
switch# configure terminal
switch(config)# interface
interface
switch(config-if)# switchport
trunk allowed vlan {vlan-list
all | none [add |except | none
| remove {vlan-list}]}
switch(config-if)# show vlan
switch(config-if)# copy
running-config startup-config
Purpose
Enters global configuration mode.
Specifies the interface that you are configuring and places you in
interface configuration mode. The interface argument is defined
as follows:
• For an Ethernet port, use the ethernet slot/port command,
where slot is the module slot number and port is the port
number.
• For a vEthernet port, use the vethernet interface-number
command, where interface-number is a number from 1 to
1048575.
Sets the allowed VLANs for the trunk interface in the running
configuration. The default is to allow all VLANs on the trunk
interface. The range is from 1 to 3967 and 4048 to 4094. VLANs
3968 to 4047 are the default VLANs reserved for internal use by
default; this group of VLANs is configurable. By default, all
VLANs are allowed on all trunk interfaces.
You cannot add internally allocated VLANs as allowed
Note
VLANs on trunk ports. The system returns a message if
you attempt to list an internally allocated VLAN as an
allowed VLAN.
(Optional)
Displays the status and information of VLANs.
(Optional)
Saves the change persistently through reboots and restarts by
copying the running configuration to the startup configuration.
Configuring Layer 2 Interfaces

Advertisement

Table of Contents
loading

Table of Contents