Verifying The Q-In-Q Configuration; Configuration Examples For Q-In-Q And Layer 2 Protocol Tunneling - Cisco 7206 - VXR Router Configuration Manual

Network configuration guide
Table of Contents

Advertisement

Verifying the Q-in-Q Configuration

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
Verifying the Q-in-Q Configuration
To display Q-in-Q tunnel and Layer 2 protocol tunneling configuration information, perform one of the
following tasks:
Command
clear l2protocol tunnel counters [interface
if-range]
show dot1q-tunnel [interface if-range]
show l2protocol tunnel [interface if-range
| vlan vlan-id]
show l2protocol tunnel summary
show running-config l2pt
Configuration Examples for Q-in-Q and Layer 2 Protocol
Tunneling
This example shows a service provider switch that is configured to process Q-in-Q for traffic coming in
on Ethernet 7/1. A Layer 2 protocol tunnel is enabled for STP BPDUs. The customer is allocated VLAN
10 (outer VLAN tag).
switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# vlan 10
switch(config-vlan)# no shutdown
switch(config-vlan)# no ip igmp snooping
switch(config-vlan)# exit
switch(config)# interface ethernet 7/1
switch(config-if)# switchport
switch(config-if)# switchport mode dot1q-tunnel
switch(config-if)# switchport access vlan 10
switch(config-if)# spanning-tree port type edge
switch(config-if)# l2protocol tunnel stp
switch(config-if)# no shutdown
switch(config-if)# exit
switch(config)# exit
switch#
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
9-16
Chapter 9
Configuring Q-in-Q VLAN Tunnels
Purpose
Clears all the statistics counters. If no interfaces
are specified, the Layer 2 protocol tunnel statistics
are cleared for all interfaces.
Displays a range of interfaces or all interfaces that
are in dot1q-tunnel mode.
Displays Layer 2 protocol tunnel information for
a range of interfaces, for all dot1q-tunnel
interfaces that are part of a specified VLAN or all
interfaces.
Displays a summary of all ports that have Layer 2
protocol tunnel configurations.
Displays the current Layer 2 protocol tunnel
running configuration.
OL-23435-03

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents