#
interface GigabitEthernet0/0/1
port hybrid pvid vlan 120
port hybrid untagged vlan 120
#
interface GigabitEthernet0/0/2
port hybrid pvid vlan 130
port hybrid untagged vlan 130
#
interface LoopBack0
ip address 192.4.4.4 255.255.255.255
#
ospf 1
area 0.0.0.0
network 192.4.4.4 0.0.0.0
network 10.1.1.0 0.0.0.255
network 10.2.2.0 0.0.0.255
#
return
l
Configuration file of PE-B
#
sysname PE-B
#
mpls lsr-id 192.3.3.3
mpls
#
mpls l2vpn
#
mpls ldp
#
mpls ldp remote-peer 192.2.2.2
remote-ip 192.2.2.2
#
vlan batch 130 140
#
interface Vlanif130
ip address 10.2.2.2 255.255.255.0
mpls
mpls ldp
#
interface Vlanif140
mpls l2vc 192.2.2.2 100
#
interface GigabitEthernet0/0/1
port hybrid pvid vlan 140
port hybrid untagged vlan 140
#
interface GigabitEthernet0/0/2
port hybrid pvid vlan 130
port hybrid untagged vlan 130
#
interface LoopBack0
ip address 192.3.3.3 255.255.255.255
#
ospf 1
area 0.0.0.0
network 192.3.3.3 0.0.0.0
network 10.2.2.0 0.0.0.255
#
return
l
Configuration file of CE-B
#
sysname CE-B
#
vlan batch 140
#
interface Vlanif140
ip address 100.1.1.2 255.255.255.0
Quidway S5700 Series Ethernet Switches
Configuration Guide - Network Management
6 NQA Configuration
Issue 01 (2011-10-26)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
378