No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


S12700 V200R010C00 Configuration Guide - Ethernet Switching

This document describes the configuration of Ethernet services, including configuring link aggregation, VLANs, Voice VLAN, VLAN mapping, QinQ, GVRP, MAC table, STP/RSTP/MSTP, SEP, and so on.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Introduction to QinQ

Introduction to QinQ


QinQ expands VLAN space by adding an additional 802.1Q tag to 802.1Q tagged packets. It allows services in a private VLAN to be transparently transmitted over a public network. A packet transmitted on the backbone network carries two 802.1Q tags: a public VLAN tag and a private VLAN tag.


Ethernet is widely used on ISP networks, but 802.1Q VLANs are unable to identify and isolate large numbers of users on metro Ethernet networks because the 12-bit VLAN tag field defined in IEEE 802.1Q only identifies a maximum of 4096 VLANs. QinQ was developed to expand VLAN space beyond 4096 VLANs so that a larger number of users can be identified on a metro Ethernet network.

QinQ was originally developed to expand VLAN space by adding an additional 802.1Q tag to an 802.1Q-tagged packet. In this way, the number of VLANs can increase to 4094 x 4094.

In addition to expanding VLAN space, QinQ is applied in other scenarios with the development of metro Ethernet networks and carriers' requirements on refined service operation. The outer and inner VLAN tags can be used to differentiate packets based on users and services. For example, the inner tag represents a user, while the outer tag represents a service. Moreover, QinQ is used as a simple and practical VPN technology because inner tags of QinQ packets are transparently transmitted over a public network. It extends core MPLS VPN services to metro Ethernet networks to establish an end-to-end VPN.

Since QinQ technology is easy to use, it has been widely applied in Internet Service Provider (ISP) networks. For example, QinQ is combined with multiple services in metro Ethernet solutions. Selective QinQ (VLAN stacking) makes QinQ more popular among ISPs. As the metro Ethernet develops, equipment vendors have developed their own metro Ethernet solutions, in which the simple and flexible QinQ technology plays an important role.


QinQ offers the following benefits:
  • Extends the VLAN space to isolate and identify more users.
  • Facilitates service deployment by allowing the inner and outer tags to represent different information. For example, the inner tag identifies a user and the outer tag identifies a service.
  • Allows ISPs to implement refined service operation by providing diversified encapsulation and termination modes.
Updated: 2019-08-21

Document ID: EDOC1000142081

Views: 254495

Downloads: 405

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next