![Huawei Quidway NetEngine40E Configuration Manual - Reliability Download Page 980](http://html.mh-extra.com/html/huawei/quidway-netengine40e/quidway-netengine40e_configuration-manual-reliability_169453980.webp)
Data Preparation
To complete the configuration, you need the following data:
l
MEG name
l
Name of the TE tunnel bound to the ME
Procedure
Step 1
Configure a bidirectional LSP.
For details about the bidirectional LSP built based on LSRs, see "Configuring a Static
Bidirectional LSP" in the <
HUAWEI NetEngine80E/40E Router
Configuration Guide-MPLS
or information in the configuration files of this configuration example.
Step 2
Create an ME and bind it to a bidirectional LSP.
# Create an ME named
test
on LSRA and bind the ME to Tunnel 1/0/0.
<HUAWEI>
system-view
[HUAWEI]
sysname LSRA
[LSRA]
mpls-tp meg test
[LSRA-mpls-tp-meg-test]
me te interface tunnel 1/0/0 mep-id 1 remote-mep-id 2
[LSRA-mpls-tp-meg-test]
return
# Create an ME named
test
on LSRC and bind the ME to Tunnel 2/0/0.
<HUAWEI>
system-view
[HUAWEI]
sysname LSRC
[LSRC]
mpls-tp meg test
[LSRC-mpls-tp-meg-test]
me te interface tunnel 2/0/0 mep-id 2 remote-mep-id 1
Step 3
Enable LB.
NOTE
LB can be used to detect the connectivity between a MEP and its RMEP or a MIP. In this example, LB is used
to detect the connectivity between LSRA and LSRC.
Enable LB on LSRA.
<LSRA>
ping meg test
PING test: 9 data bytes, press CTRL_C to break
Reply from test: bytes=9, Sequence=1 time=100 ms
Reply from test: bytes=9, Sequence=2 time=90 ms
Reply from test: bytes=9, Sequence=3 time=100 ms
Reply from test: bytes=9, Sequence=4 time=90 ms
Reply from test: bytes=9, Sequence=5 time=100 ms
--- ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max 90/96/100 ms
----End
Configuration Files
l
Configuration file of LSRA
#
sysname LSRA
#
mpls lsr-id 1.1.1.1
mpls
mpls te
#
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.
963