Enabling The Layer 2 Protocol Tunnel - Cisco 7206 - VXR Router Configuration Manual

Network configuration guide
Table of Contents

Advertisement

Chapter 9
Configuring Q-in-Q VLAN Tunnels
S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m
Command
Step 6
exit
Example:
switch(config-if)# exit
switch(config)# exit
Step 7
copy running-config startup-config
Example:
switch# copy running-config startup-config
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.
2.
3.
4.
5.
6.
7.
8.
DETAILED STEPS
Command
Step 1
configure terminal
Example:
switch# configure terminal
Step 2
interface ethernet slot/port
Example:
switch(config)# interface ethernet 7/1
OL-23435-03
configure terminal
interface ethernet slot/port
switchport
switchport mode dot1q-tunnel
l2protocol tunnel [cdp | stp | vtp]
no l2protocol tunnel [cdp | stp | vtp]
exit
copy running-config startup-config
Configuring Q-in-Q Tunnels and Layer 2 Protocol Tunneling
Purpose
Exits configuration mode.
(Optional) Copies the running configuration to the
startup configuration.
Purpose
Enters global configuration mode.
Specifies an interface to configure, and enters
interface configuration mode.
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
9-11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents