![Huawei Quidway NetEngine40E Configuration Manual - Reliability Download Page 913](http://html.mh-extra.com/html/huawei/quidway-netengine40e/quidway-netengine40e_configuration-manual-reliability_169453913.webp)
<HUAWEI>
system-view
[HUAWEI]
sysname PE1
[PE1]
cfm version standard
[PE1]
cfm enable
[PE1]
cfm md md1 level 3
[PE1-md-md1]
ma ma1
[PE1-md-md1-ma-ma1]
map mpls l2vc 201 tagged
NOTE
l
In the VLAN, associate the MA with the VLAN.
[PE1-md-md1-ma-ma1]
map vlan 2
l
On the VPLS network, associate the MA with the VSI.
[PE1-md-md1-ma-ma1]
map vsi ldp1
[PE1-md-md2-ma-ma2]
mep mep-id 1 interface gigabitEthernet1/0/1.1 inward
[PE1-md-md2-ma-ma2]
mep ccm-send mep-id 1 enable
[PE1-md-md2-ma-ma2]
remote-mep mep-id 2
[PE1-md-md2-ma-ma2]
remote-mep ccm-receive mep-id 2 enable
# Configure PE2.
<HUAWEI>
system-view
[HUAWEI]
sysname PE2
[PE2]
cfm version standard
[PE2]
cfm enable
[PE2]
cfm md md1 level 3
[PE2-md-md1]
ma ma1
[PE2-md-md1-ma-ma1]
map mpls l2vc 201 tagged
NOTE
l
In the VLAN, associate the MA with the VLAN.
[PE2-md-md1-ma-ma1]
map vlan 2
l
On the VPLS network, associate the MA with the VSI.
[PE2-md-md1-ma-ma1]
map vsi ldp1
[PE2-md-md2-ma-ma2]
mep mep-id 2 interface gigabitEthernet
2/0/1.1 inward
Step 3
Configure the ETH-test function.
# Configure PE1.
[PE1-md-md1-ma-ma1]
eth-test enable mep 1
[PE1-md-md1-ma-ma1]
eth-test start mep 1 remote-mep 2 interval 10
# Configure PE2.
[PE2-md-md1-ma-ma1]
eth-test enable mep 2
Step 4
Verify the configuration.
Run the
display y1731 statistic-type eth-test
command on PE2 to view test results.
<PE2>
display y1731 statistic-type eth-test md md1 ma ma1 mep 2
SrcMAC RcvPackets ErrBitPackets
ErrSeqPackets ErrCrcPackets
0011-0101-0000 9208312 0
0 0
----End
Configuration Files
l
PE1 configuration file
HUAWEI NetEngine80E/40E Router
Configuration Guide - Reliability
8 Ethernet OAM Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
896