![Huawei Quidway NetEngine40E Configuration Manual - Reliability Download Page 1003](http://html.mh-extra.com/html/huawei/quidway-netengine40e/quidway-netengine40e_configuration-manual-reliability_1694531003.webp)
#
interface LoopBack1
ip address 2.2.2.2 255.255.255.255
#
ip route-static 1.1.1.1 255.255.255.255 2.1.1.1
ip route-static 3.3.3.3 255.255.255.255 3.2.1.2
#
return
l
Configuration file of PE3
#
sysname PE3
#
mpls lsr-id 3.3.3.3
mpls
mpls te
#
mpls l2vpn
#
bidirectional static-cr-lsp egress lsp1
forward in-label 40 lsrid 1.1.1.1 tunnel-id 100
backward nexthop 3.2.1.1 out-label 16 bandwidth ct0 10000
#
pw-template tpctoa
peer-address 1.1.1.1
control-word
tnl-policy tpctoa
#
interface Pos1/0/0
undo shutdown
ip address 3.2.1.2 255.255.255.0
mpls
mpls te
mpls te bandwidth max-reservable-bandwidth 100000
mpls te bandwidth bc0 100000
#
interface POS1/0/0.1
vlan-type dot1q 1
mpls static-l2vc pw-template tpctoa 30000 transmit-vpn-label 101 receive-vpn-
label 101
mpls l2vpn pw traffic-statistics enable
#
interface LoopBack1
ip address 3.3.3.3 255.255.255.255
#
interface Tunnel2/0/0
ip address unnumbered interface LoopBack1
tunnel-protocol mpls te
destination 1.1.1.1
mpls te signal-protocol cr-static
mpls te tunnel-id 200
mpls te passive-tunnel
mpls te binding bidirectional static-cr-lsp egress lsp1
mpls te reserved-for-binding
mpls te commit
#
ip route-static 1.1.1.1 255.255.255.255 3.2.1.1
ip route-static 2.2.2.2 255.255.255.255 3.2.1.1
#
tunnel-policy tpctoa
tunnel binding destination 1.1.1.1 te Tunnel1/0/0
#
mpls-tp meg test
me l2vc peer-ip 1.1.1.1 vc-id 30000 vc-type vlan mep-id 2 remote-mep-id 1
cc send enable
cc receive enable
lost-measure dual-ended enable
HUAWEI NetEngine80E/40E Router
Configuration Guide - Reliability
9 MPLS-TP OAM Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
986