
#
sysname U-PE2
#
mpls lsr-id 5.5.5.9
mpls
#
mpls l2vpn
#
mpls ldp
#
mpls ldp remote-peer 3.3.3.9
remote-ip 3.3.3.9
#
vlan batch 150 160
#
interface Vlanif150
ip address 40.1.1.2 255.255.255.0
mpls
mpls ldp
#
interface Vlanif160
mpls l2vc 3.3.3.9 200
#
interface GigabitEthernet1/0/0
port hybrid pvid vlan 150
port hybrid untagged vlan 150
#
interface GigabitEthernet2/0/0
port hybrid pvid vlan 160
port hybrid untagged vlan 150
#
#
interface LoopBack0
ip address 5.5.5.9 255.255.255.255
#
ospf 1
area 0.0.0.0
network 5.5.5.9 0.0.0.0
network 40.1.1.0 0.0.0.255
#
return
l
Configuration file of CE-B
#
sysname CE-B
#
vlan batch 160
#
interface Vlanif160
ip address 100.1.1.2 255.255.255.0
#
interface GigabitEthernet1/0/0
port hybrid pvid vlan 160
port hybrid untagged vlan 160
#
return
6.37.24 Example for Configuring the PWE3 Trace Test on a Single-
Hop PW
Networking Requirements
As shown in
, CE-A and CE-B are respectively connected to PE-A and PE-B through
VLAN. PE-A and PE-B are connected through the MPLS backbone network. A dynamic PW
needs to be set up between PE-A and PE-B through the LSP tunnel.
6 NQA Configuration
Quidway S9300 Terabit Routing Switch
Configuration Guide - Network Management
6-214
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 03 (2010-09-20)