port hybrid pvid vlan 30
port hybrid tagged vlan 30
#
interface GigabitEthernet2/0/0
#
interface GigabitEthernet2/0/0.1
control-vid 2000 qinq-termination
qinq termination pe-vid 100 ce-vid 10
l2 binding vsi a2
#
interface LoopBack1
ip address 3.3.3.9 255.255.255.255
#
ospf 1
area 0.0.0.0
network 3.3.3.9 0.0.0.0
network 169.1.1.0 0.0.0.255
#
return
5.12.13 Example for Connecting a Sub-interface Enabled with
Single-Tag VLAN Mapping to a VPLS Network
Networking Requirements
As shown in Figure 5-13, VPLS is enabled on PE1 and PE2. CE1 is connected to PE1 and CE2
is connected to PE2. CE1 and CE2 belong to the same VSI. LDP is used as the VPLS signaling
protocol to set up the PW and Martini VPLS is configured to enable CE1 and CE2 to
communicate with each other.
Figure 5-13 Networking diagram for configuring Martini VPLS
Martini
GE 2/0/0
GE 2/0/0
GE 1/0/0
GE 2/0/0
GE1/0/0
P
PE 2PE 1
CE 1
CE 2
GE 1/0/0
GE1/0/0
GE1/0/0
Loopback1
1.1.1.9/32
Loopback1
2.2.2.9/32
Loopback1
3.3.3.9/32
Switch
Interface VLANIF interface IP address
PE1 GigabitEthernet1/0/0 GigabitEthernet1/0/0.1 -
GigabitEthernet2/0/0 VLANIF 20 168.1.1.1/24
Loopback1 - 1.1.1.9/32
PE2 GigabitEthernet1/0/0 VLANIF 30 169.1.1.2/24
GigabitEthernet2/0/0 GigabitEthernet2/0/0.1 -
Loopback1 - 3.3.3.9/32
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.
280