Send document comments to nexus7k-docfeedback@cisco.com
9-11
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
This example shows how to create an 802.1Q tunnel port:
switch# configure terminal
switch(config)# interface ethernet 7/1
switch(config-if)# switchport
switch(config-if)# switchport dot1q ethertype 0x9100
switch(config-if)# exit
switch(config)# exit
switch# show dot1q-tunnel
Enabling the Layer 2 Protocol Tunnel
You can enable protocol tunneling on the 802.1Q tunnel port.
SUMMARY STEPS
1. configure terminal
2. interface ethernet slot/port
3. switchport
4. switchport mode dot1q-tunnel
5. l2protocol tunnel [cdp | stp | vtp]
6. no l2protocol tunnel [cdp | stp | vtp]
7. exit
8. copy running-config startup-config
DETAILED STEPS
Step 6
exit
Example:
switch(config-if)# exit
switch(config)# exit
Exits configuration mode.
Step 7
copy running-config startup-config
Example:
switch# copy running-config startup-config
(Optional) Copies the running configuration to the
startup configuration.
Command Purpose
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.