Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
interface interface-type interface-number
The interface view is displayed.
Step 3 Run:
qinq protocol protocol-id
The protocol type in the outer VLAN tag is set.
By default, the TPID value in the outer VLAN tag is 0x8100.
----End
4.7 Configuration Examples
This section provides several configuration examples of QinQ.
4.7.1 Example for Configuring Basic QinQ
Networking Requirements
As shown in Figure 4-7, enterprise A has two branches that connect to the carrier network
through PE1 and PE2 respectively. Enterprise A has different services, so different VLANs are
assigned.
The requirements are as follows:
l VLANs are assigned independently in enterprise A, and are independent of carrier VLANs
or VLANs of other enterprises.
l Traffic between two branches of enterprise A is transparently transmitted through the public
network, devices transmitting the same service in different branches of enterprise A are
allowed to communicate, and devices transmitting different services are isolated.
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.
134