Changing The Ethertype For Q-In-Q - 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
DETAILED STEPS
Command
Step 1
configure terminal
Example:
switch# configure terminal
Step 2
interface ethernet slot/port
Example:
switch(config)# interface ethernet 7/1
Step 3
switchport
Example:
switch(config-if)# switchport
Step 4
switchport mode dot1q-tunnel
Example:
switch(config-if)# switchport mode
dot1q-tunnel
Step 5
no switchport mode
Example:
switch(config-if)# no switchport mode
Step 6
exit
Example:
switch(config-if)# exit
switch(config)# exit
Step 7
show dot1q-tunnel [interface if-range]
Example:
switch# show dot1q-tunnel
Step 8
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 mode dot1q-tunnel
switch(config-if)# exit
switch(config)# exit
switch# show dot1q-tunnel

Changing the EtherType for Q-in-Q

You can change the 802.1Q EtherType value to be used for Q-in-Q encapsulation.
OL-23435-03
Configuring Q-in-Q Tunnels and Layer 2 Protocol Tunneling
Purpose
Enters global configuration mode.
Specifies an interface to configure, and enters
interface configuration mode.
Sets the interface as a Layer 2 switching port.
Creates a 802.1Q tunnel on the port. The port will go
down and reinitialize (port flap) when the interface
mode is changed. BPDU filtering is enabled and
CDP is disabled on tunnel interfaces.
(Optional) Disables the 802.1Q tunnel on the port.
Exits configuration mode.
(Optional) Displays all ports that are in dot1q-tunnel
mode. Optionally you can specify an interface or
range of interfaces to display.
(Optional) Copies the running configuration to the
startup configuration.
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
9-9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents