#
return
l Configuration file of PE-A
#
 sysname PE-A
#
 mpls lsr-id 192.2.2.2
 mpls
#
 mpls l2vpn
#
mpls ldp
#
 mpls ldp remote-peer 192.3.3.3
 remote-ip 192.3.3.3 
#
vlan batch 110 120
#
interface Vlanif110
 mpls l2vc 192.3.3.3 100 
#
interface Vlanif120
 ip address 10.1.1.1 255.255.255.0
 mpls
 mpls ldp
#
interface  GigabitEthernet0/0/1
 port hybrid pvid vlan 110
 port hybrid untagged vlan 110
#
interface  GigabitEthernet0/0/2
 port hybrid pvid vlan 120
 port hybrid untagged vlan 120
#
interface LoopBack0
ip address 192.2.2.2 0.0.0.0
#
nqa test-instance test pwe3trace
 test-type pwe3trace
 local-pw-type vlan
 local-pw-id 100
#
ospf 1
 area 0.0.0.0
  network 192.2.2.2 0.0.0.0
  network 10.1.1.0 0.0.0.255
#
return
l Configuration file of P
#
 sysname P
#
 mpls lsr-id 192.4.4.4
 mpls
#
mpls ldp
#
vlan batch 120 130
#
interface Vlanif120
 ip address 10.1.1.2 255.255.255.0
 mpls
 mpls ldp
#
interface Vlanif130
 ip address 10.2.2.1 255.255.255.0
 mpls
 mpls ldp
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.
377