#
sysname CE1
#
vlan batch 20 to 21
#
bridge 1
#
interface GigabitEthernet0/0/0
port link-type trunk
port trunk allow-pass vlan 20 to 21
#
interface GigabitEthernet0/0/1
#
interface GigabitEthernet0/0/1.1
bridge 1
bridge vlan-transmit enable
vlan stacking vid 10 to 30 pe-vid 20
#
interface GigabitEthernet0/0/1.2
bridge 1
bridge vlan-transmit enable
vlan stacking vid 31 to 50 pe-vid 21 remark 8021p 7
#
return
Configuration file of CE2
#
sysname CE2
#
vlan batch 20 to 21
#
bridge 1
#
interface GigabitEthernet0/0/0
port link-type trunk
port trunk allow-pass vlan 20 to 21
#
interface GigabitEthernet0/0/1
#
interface GigabitEthernet0/0/1.1
bridge 1
bridge vlan-transmit enable
vlan stacking vid 10 to 30 pe-vid 20
#
interface GigabitEthernet0/0/1.2
bridge 1
bridge vlan-transmit enable
vlan stacking vid 31 to 50 pe-vid 21 remark 8021p 7
#
return
Configuration file of PE1
#
sysname PE1
#
vlan batch 20 to 21
#
interface GigabitEthernet0/0/0
port link-type trunk
port trunk allow-pass vlan 20 to 21
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 20 to 21
#
return
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.
140