.
Adding an Interface to a QinQ Tunnel
Follow the guidelines in the preceding section to set up a Qi nQ tu nnel on the s wi tch.
Use the VLAN Port Configuration or VLAN Trunk Configuration screen to set the
access port on the edge switch to 802.1Q Tunnel mode.
Command Usage
Use the 802.1Q Tunnel Status screen to set the swit ch to QinQ mod e before
configuring a tunnel port (see “Enabling QinQ Tun neling o n the Swit ch” on page
11-16). Also set the Tag Protocol Identifier (T PID) value of the tun nel port if th e
attached client is using a nonstandard 2-byte ethertype to identify 802.1Q tagged
frames (see “Enabling QinQ Tunneling on the Switch” on page 11-16).
Set the mode to 802.1Q Tunnel (access ) or 802.1Q Tun nel Upli nk.
Command Attributes
Mode
– Set the VLAN membership mode of the p ort.
None – The port operates in its normal VLA N mode. ( This is the def ault.)
802.1Q Tunnel
– Configures IEEE 802.1Q tunneling (QinQ) for a client access port
to segregate and preserve customer VLAN IDs for traffic crossing the service
provider network.
802.1Q Tunnel Uplink – Configures IEEE 802.1Q tunneling (QinQ) for an uplin k
port to another device within the service provider network.
Trunk Member – Shows if a port is a mem ber or a trun k.

11-17

Configuring IEEE 802.1Q Tunneling

CLI
– This example sets the switch to operate in QinQ mode.
Console(config)#dot1q-tunnel syst em-tunnel-control
Console(config-if)#switchport dot 1q-tunn el tpid 9 100
Console(config)#exit
Console#show dot1q-tunnel
Current double-tagged
s
t
a
t
u
s
o
f
t
h
e
s
y
s
t
e
m
i
s
E
nabl
e
d
11
34-15
34-16
3
4
-
17
The dot1q-tunnel mode of the set interface 1/1 i s Acce ss mo de , TPI D is 0x 9100 .
The dot1q-tunnel mode of the set interface 1/2 i s Upli nk mo de , TPI D is 0x 9100 .
The dot1q-tunnel mode of the set interface 1/3 i s Norm al mo de , TPI D is 0x 9100 .
The dot1q-tunnel mode of the set interface 1/4 i s Norm al mo de , TPI D is 0x 9100 .
The dot1q-tunnel mode
o
f
t
h
e
s
e
t
i
n
t
e
r
f
a
c
e
1
/
5 is N
o
rm
a
lm
o
d
e
,
T
P
I
D
i
s
0
x
9
1
0
0
.
.
.