Figure 4-7
Networking diagram for configuring basic QinQ
PE1
P
PE2
CE2
VLA
N20
CE1
VL
AN
20
VL
AN
20
VL
AN
20
Network
VLAN 10 to 50
Enterprise A
Branch 1
VLAN 10 to 50
Enterprise A
Branch 2
GE0/0/0
GE0/0/1
GE0/0/0
GE0/0/1
GE0/0/0
GE0/0/0
GE0/0/1
GE0/0/0
Configuration Roadmap
The configuration roadmap is as follows:
You can configure the basic QinQ function on a CE connected to a PE and implement
communication between two branches of enterprise A through VLAN 20 provided by the carrier.
1.
Create a bridge group and add a sub-interface to the bridge group.
2.
Configure VLANs allowed by the sub-interface.
3.
Configure basic QinQ on the CE interface connected to the PE so that the CE can add the
S-VLAN tag to user packets.
4.
Add interfaces of the PE and P to VLAN 20 so that packets from VLAN 20 are allowed to
pass through.
Procedure
Step 1
Create a bridge group and add a sub-interface to the bridge group.
# Create a bridge group and add a sub-interface to the bridge group on CE1. The configuration
of CE2 is similar to that of CE1.
<Huawei>
system-view
[Huawei]
sysname CE1
[CE1]
bridge 1
[CE1-bridge1]
quit
[CE1]
interface gigabitethernet 0/0/0.1
[CE1-GigabitEthernet0/0/0.1]
bridge 1
[CE1-GigabitEthernet0/0/0.1]
bridge vlan-transmit enable
Step 2
Configure VLANs allowed by the sub-interface.
# Configure VLANs allowed by the sub-interface on CE1. The configuration of CE2 is similar
to that of CE1.
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.
135