![Huawei AR530 Series Configuration Manual Download Page 139](http://html.mh-extra.com/html/huawei/ar530-series/ar530-series_configuration-manual_169308139.webp)
Figure 4-2
Networking diagram of basic QinQ
PE1
P
PE2
CE2
CE1
Network
VLAN 10 to 50
Enterprise A
Branch 1
VLAN 10 to 50
Enterprise A
Branch 2
20
10
to
50
20
10
t
o
50
20
10
to
50
20
10 to
50
Enterprise A has different services, so different VLANs are assigned. Basic QinQ is configured
on the CE interface connected to the carrier network. The outer VLAN 20 is added to the packet
passing through the CE interface and removed after the packet reaches another branch. Traffic
between two branches is transparently transmitted on the public network so that users using the
same service in different branches of enterprise A can communicate and users using different
services are isolated.
4.2.3 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:
l
VLAN ID-based selective QinQ: adds outer VLAN tags based on VLAN IDs.
l
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:
l
Basic QinQ: adds the same outer VLAN tag to all the frames entering a Layer 2 port.
l
Selective QinQ: adds different outer VLAN tags to the frames entering a Layer 2 port based
on the inner VLAN tags.
, enterprise A has two branches that connect to the carrier network
through PE1 and PE2 respectively.
Huawei AR530&AR550 Series Industrial Switch Routers
Configuration Guide - Ethernet Switching
4 QinQ Configuration
Issue 01 (2014-11-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
125