Chapter 19
| VLAN Commands
Configuring IEEE 802.1Q Tunneling
Configuring IEEE 802.1Q Tunneling
Console#
IEEE 802.1Q tunneling (QinQ tunneling) uses a single Service Provider VLAN
(SPVLAN) for customers who have multiple VLANs. Customer VLAN IDs are
preserved and traffic from different customers is segregated within the service
provider's network even when they use the same customer-specific VLAN IDs. QinQ
tunneling expands VLAN space by using a VLAN-in-VLAN hierarchy, preserving the
customer's original tagged packets, and adding SPVLAN tags to each frame (also
called double tagging).
This section describes commands used to configure QinQ tunneling.
Table 97: 802.1Q Tunneling Commands
Command
dot1q-tunnel
system-tunnel-control
switchport dot1q-tunnel
mode
switchport dot1q-tunnel
priority map
switchport dot1q-tunnel
service match cvid
switchport dot1q-tunnel
tpid
show dot1q-tunnel
show interfaces switchport
General Configuration Guidelines for QinQ
1.
Configure the switch to QinQ mode
2.
Create a SPVLAN (vlan).
3.
Configure the QinQ tunnel access port to dot1Q-tunnel access mode
(switchport dot1q-tunnel
4.
Set the Tag Protocol Identifier (TPID) value of the tunnel access port. This step is
required if the attached client is using a nonstandard 2-byte ethertype to
identify 802.1Q tagged frames. The standard ethertype value is 0x8100. (See
switchport dot1q-tunnel
Eth1/11(S) Eth1/12(S) Eth1/13(S) Eth1/14(S) Eth1/15(S)
Eth1/16(S) Eth1/17(S) Eth1/18(S) Eth1/19(S) Eth1/20(S)
Eth1/21(S) Eth1/22(S) Eth1/23(S) Eth1/24(S) Eth1/25(S)
Eth1/26(S) Eth1/27(S) Eth1/28(S)
Function
Configures the switch to operate in normal mode or QinQ
mode
Configures an interface as a QinQ tunnel port
Copies inner tag priority to outer tag priority
Creates a CVLAN to SPVLAN mapping entry
Sets the Tag Protocol Identifier (TPID) value of a tunnel port IC
Displays the configuration of QinQ tunnel ports
Displays port QinQ operational status
(dot1q-tunnel
mode).
tpid.)
– 468 –
Mode
GC
IC
IC
IC
PE
PE
system-tunnel-control).