bridge vlan-transmit enable
vlan allow-pass vid 10 to 50
vlan dot1q-tunnel 20
#
return
Configuration file of PE1
#
sysname PE1
#
vlan batch 20
#
interface GigabitEthernet0/0/0
port link-type trunk
port trunk allow-pass vlan 20
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 20
#
return
Configuration file of PE2
#
sysname PE2
#
vlan batch 20
#
interface GigabitEthernet0/0/0
port link-type trunk
port trunk allow-pass vlan 20
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 20
#
return
Configuration file of P
#
sysname P
#
vlan batch 20
#
interface GigabitEthernet0/0/0
port link-type trunk
port trunk allow-pass vlan 20
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 20
#
return
4.7.2 Example for Configuring Selective QinQ
Networking Requirements
, 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. Data services are transmitted in VLAN 10 to VLAN 30, and voice services are
transmitted in VLAN 31 to VLAN 50.
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.
137