Step 3 Verify the configuration.
The Internet access service, IPTV service, and VoIP service can be used.
----End
Configuration Files
Configuration file of SwitchA
#
sysname Quidway
#
vlan batch 21 to 70 1101 to 1103
#
interface GigabitEthernet1/0/0
port hybrid tagged vlan 1101 to 1103
port hybrid untagged vlan 21
port vlan-stacking vlan 101 to 150 stack-vlan 21
#
return
Configuration file of SwitchB
#
sysname Quidway
#
vlan batch 101 to 150 1000 to 1103
#
interface GigabitEthernet1/0/0
port hybrid tagged vlan 101 1000 to 1103
port vlan-mapping vlan 1000 to 1100 map-vlan 101
#
interface GigabitEthernet2/0/0
port hybrid tagged vlan 101 to 150 1101 to 1103
#
return
5.12.4 Example for Configuring Selective QinQ with a Traffic Policy
Networking Requirements
As shown in Figure 5-4, low-end switches at the user side connect to the Internet through the
Switch.
The IPTV and Internet access services are deployed at the user side. User PCs obtain IP addresses
from ME60-A to connect to the Internet, and the set top boxes obtain IP addresses from ME60-
B to provide the IPTV service.
The DSLAMs add different VLAN tags to packets of different services so that the PCs cannot
obtain IP addresses from ME60-B.
The carrier assigns VLAN 100 to VLAN 999 to PPPoE packets and assigns VLAN 1000 to
VLAN 1999 to DHCP packets.
The STBs are provided by the carrier; therefore, the carrier can obtain MAC addresses of STBs
but cannot obtain MAC addresses of PCs.
When a user starts the PC, a DHCP packet is sent to apply for an IP address. This request should
be rejected and the user needs to obtain an IP address by dialing in through PPPoE.
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.
224