.
Adding an Interface to a QinQ Tunnel
Follow the guidelines in the preceding section to set up a QinQ tunnel on the switch.
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 switch to QinQ mode before
configuring a tunnel port (see “Enabling QinQ Tunneling on the Switch” on page
11-16). Also set the Tag Protocol Identifier (TPID) value of the tunnel port if the
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 Tunnel Uplink.
Command Attributes
Mode
– Set the VLAN membership mode of the port.
• None – The port operates in its normal VLAN mode. (This is the default.)
•
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 uplink
port to another device within the service provider network.
• Trunk Member – Shows if a port is a member or a trunk.
11-17
Configuring IEEE 802.1Q Tunneling
CLI
– This example sets the switch to operate in QinQ mode.
Console(config)#dot1q-tunnel system-tunnel-control
Console(config-if)#switchport dot1q-tunnel tpid 9100
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 is Access mode, TPID is 0x9100.
The dot1q-tunnel mode of the set interface 1/2 is Uplink mode, TPID is 0x9100.
The dot1q-tunnel mode of the set interface 1/3 is Normal mode, TPID is 0x9100.
The dot1q-tunnel mode of the set interface 1/4 is Normal mode, TPID is 0x9100.
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
.
.
.