![Huawei Quidway NetEngine40E Configuration Manual - Reliability Download Page 702](http://html.mh-extra.com/html/huawei/quidway-netengine40e/quidway-netengine40e_configuration-manual-reliability_169453702.webp)
[PE3-md-md1-ma-ma1]
mep ccm-send enable
[PE3-md-md1-ma-ma1]
remote-mep ccm-receive enable
[PE3-md-md1-ma-ma1]
quit
[PE4-md-md1]
quit
# Configure basic CFM functions on PE4.
[PE4]
vlan 2
[PE4--vlan2]
quit
[PE4]
interface GigabitEthernet1/0/2
[PE4-GigabitEthernet1/0/2]
portswitch
[PE4-GigabitEthernet1/0/2]
port trunk allow-pass vlan 2
[PE4-GigabitEthernet1/0/2]
quit
[PE4]
cfm md md1
[PE4-md-md1]
ma ma1
[PE4-md-md1-ma-ma1]
map vlan 2
[PE4-md-md1-ma-ma1]
mep mep-id 2 interface GigabitEthernet 1/0/2 outward
[PE4-md-md1-ma-ma1]
remote-mep mep-id 1
[PE4-md-md1-ma-ma1]
mep ccm-send enable
[PE4-md-md1-ma-ma1]
remote-mep ccm-receive enable
[PE4-md-md1-ma-ma1]
quit
[PE4-md-md1]
quit
# Verify the configuration.
Run the
display cfm remote-mep
command on PE3 or PE4. If CFM is correctly configured on
PE3 and PE4, the command output shows that the
CFM Status
field value is Up.
[PE3]
display cfm remote-mep
The total number of RMEPs is : 1
The status of RMEPs : 1 up, 0 down, 0 disable
--------------------------------------------------
MD Name : md1
Level : 0
MA Name : ma1
RMEP ID : 2
VLAN ID : 2
VSI Name : --
L2VC ID : --
MAC : --
CCM Receive : enabled
Trigger-If-Down : disabled
CFM Status : up
Alarm Status : none
Interface TLV : disabled
Connect Status : up
Step 3
Configure association between EFM and CFM.
# Configure association between EFM and CFM on PE3.
[PE3]
oam-mgr
[PE3-oam-mgr]
oam-bind cfm md md1 ma ma1 efm interface GigabitEthernet 1/0/1
[PE3-oam-mgr]
quit
# Configure association between EFM and CFM on PE4.
[PE4]
oam-mgr
[PE4-oam-mgr]
oam-bind cfm md md1 ma ma1 efm interface GigabitEthernet 1/0/1
[PE4-oam-mgr]
quit
Step 4
Configure association between EFM and interfaces on CE2.
[CE2]
interface GigabitEthernet1/0/1
[CE2-GigabitEthernet1/0/1]
efm trigger if-down
[CE2-GigabitEthernet1/0/1]
quit
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.
685