Send document comments to nexus7k-docfeedback@cisco.com
9-10
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
OL-23435-03
Chapter 9 Configuring Q-in-Q VLAN Tunnels
Configuring Q-in-Q Tunnels and Layer 2 Protocol Tunneling
Note You must set the EtherType only on the egress trunk interface that carries double tagged frames (the
trunk interface that connects the service providers). If you change the EtherType on one side of the trunk,
you must set the same value on the other end of the trunk (symmetrical configuration).
Caution The EtherType value you set will affect all the tagged packets going out on the interface (not just Q-in-Q
packets).
SUMMARY STEPS
1. configure terminal
2. interface ethernet slot/port
3. switchport
4. switchport dot1q ethertype value
5. no switchport dot1q ethertype
6. exit
7. copy running-config startup-config
DETAILED STEPS
Command Purpose
Step 1
configure terminal
Example:
switch# configure terminal
Enters global configuration mode.
Step 2
interface ethernet slot/port
Example:
switch(config)# interface ethernet 7/1
Specifies an interface to configure, and enters
interface configuration mode.
Step 3
switchport
Example:
switch(config-if)# switchport
Sets the interface as a Layer 2 switching port.
Step 4
switchport dot1q ethertype value
Example:
switch(config-if)# switchport dot1q
ethertype 0x9100
Sets the EtherType for the Q-in-Q tunnel on the port.
Step 5
no switchport dot1q ethertype
Example:
switch(config-if)# no switchport dot1q
ethertype
(Optional) Resets the EtherType on the port to the
default value of 0x8100.