Figure 5-2 Networking for configuring selective QinQ
PC
PC
IPTV IPTV
Carrier
network
GE1/0/2
GE1/0/2
GE1/0/1 GE1/0/1
SwitchA SwitchB
 
Configuration Roadmap
The configuration roadmap is as follows:
1. Create VLANs on Switch A and Switch B.
2. Configure types of interfaces on Switch A and Switch B, and add the interfaces to
corresponding VLANs.
3. Configure selective QinQ on interfaces of Switch A and Switch B.
Data Preparation
To complete the configuration, you need the following data:
l VLANs that PCs belong to: VLAN 100 to VLAN 200
l VLANs that IPTV terminals belong to: VLAN 300 to VLAN 400
l VLAN tag that packets of PCs carry on the carrier network: VLAN 2
l VLAN tag that packets of IPTV terminals carry on the carrier network: VLAN 3
Procedure
Step 1 Create VLANs.
# On Switch A, create VLAN 2 and VLAN 3, that is, the outer VLAN IDs added to packets on
the carrier network.
<Quidway> system-view
[Quidway] sysname SwitchA
[SwitchA] vlan batch 2 3
# On Switch B, create VLAN 2 and VLAN 3, that is, the outer VLAN IDs added to packets on
the carrier network.
Quidway S7700 Smart Routing Switch
Configuration Guide - Ethernet 5 QinQ Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
219