R0106-HP MSR Router Series Layer 2 - LAN Switching Configuration Guide(V7)

97
Configuring QinQ
This document uses the following terms:
CVLAN—Customer network VLANs, also called "inner VLANs," refer to VLANs that a customer
uses on the private network.
SVLAN—Service provider network VLANs, also called "outer VLANs," refer to VLANs that a service
provider uses to transmit VLAN tagged traffic for customers.
Overview
802.1Q-in-802.1Q (QinQ) enables service providers to extend Layer 2 Ethernet connections across a
MAN between two customer sites.
QinQ enables service providers to separate customer traffic by adding a layer of service provider VLAN
tag (SVLAN tag) to customer traffic.
QinQ provides the following benefits:
Enables a service provider to use a single SVLAN to convey multiple CVLANs for a customer.
Enables customers to plan CVLANs without conflicting with SVLANs.
Enables customers to keep their VLAN assignment schemes unchanged when the service provider
changes its VLAN assignment scheme.
Allows different customers to use overlapping CVLAN IDs. Devices in the service provider network
make forwarding decisions based on SVLAN IDs instead of CVLAN IDs.
How QinQ works
As shown in Figure 29, a QinQ frame transmitted over the service provider network carries the following
tags:
CVLAN tag—Identifies the VLAN to which the frame belongs when it is transmitted in the customer
network.
SVLAN tag—Identifies the VLAN to which the QinQ frame belongs when it is transmitted in the
service provider network. The service provider allocates the SVLAN tag to the customer.
Figure 29 Single-tagged Ethernet frame header and double-tagged Ethernet frame header