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.


CLI-based Configuration Guide - Ethernet Switching

AR650, AR1600, and AR6100 V300R003

This document describes how to configure the components for LAN services, including link aggregation groups, VLANs, voice VLANs, MAC address tables, transparent bridging, as well as GVRP, STP/RSTP, and MSTP protocols.
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).
Selective QinQ

Selective QinQ

Selective QinQ, also known as VLAN Stacking or QinQ Stacking, is performed based on ports and VLAN IDs. Besides basic QinQ functions, selective QinQ has the following functions:
  • VLAN ID-based selective QinQ: adds outer VLAN tags based on VLAN IDs.
  • 802.1p priority-based selective QinQ: adds outer VLAN tags based on 802.1p priorities in inner VLAN tags.

Selective QinQ is an extension of basic QinQ and is more flexible. The difference is as follows:

  • Basic QinQ: adds the same outer VLAN tag to all the frames entering a Layer 2 port.

  • Selective QinQ: adds different outer VLAN tags to the frames entering a Layer 2 port based on the inner VLAN tags.

As shown in Figure 7-3, enterprise A has two branches that connect to the carrier network through PE1 and PE2 respectively.

Figure 7-3  Networking diagram of selective QinQ

Enterprise A has different services, so different VLANs are assigned. Data services are transmitted in VLAN 10 to VLAN 30, and voice services are transmitted in VLAN 31 to VLAN 50.

Selective QinQ is configured on the user-side interface of the CE to add outer VLAN 20 to packets with VLAN IDs 10 to 30, and outer VLAN 21 to packets with VLAN IDs 31 to 50, and the device is configured to increase the priority of voice packets. Traffic between two branches can be transparently transmitted through the public network so that users using the same service in different branches of enterprise A can communicate, users using different services are isolated, and voice services are transmitted preferentially.

Updated: 2019-04-12

Document ID: EDOC1100041791

Views: 63511

Downloads: 41

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