![Huawei Quidway NetEngine40E Configuration Manual - Reliability Download Page 888](http://html.mh-extra.com/html/huawei/quidway-netengine40e/quidway-netengine40e_configuration-manual-reliability_169453888.webp)
Configuration Roadmap
The configuration roadmap is as follows:
1.
Configure on-demand two-way frame delay measurement between CEs.
2.
Configure proactive two-way frame delay measurement between CEs.
Data Preparation
To complete the configuration, you need the following data:
l
ID of a VLAN to which CE interfaces belong
l
Names of the MD and MA on CE1 and CE2
l
Interval between DMMs and number of detection times in on-demand OAM mode
Procedure
Step 1
Configure on-demand two-way frame delay measurement for links between CEs.
1.
Configure basic Ethernet CFM functions, including outward-facing MEPs.
On each CE, configure IEEE Std 802.1ag-2007 CFM, create an MD named
md3
and an
MA named
ma3
, and bind the MA to a VLAN.
# Configure CE1.
<HUAWEI>
system-view
[HUAWEI]
sysname CE1
[CE1]
vlan 2
[CE1]
interface gigabitethernet1/0/1
[CE1-GigabitEthernet1/0/1]
portswitch
[CE1-GigabitEthernet1/0/1]
port link-type trunk
[CE1-GigabitEthernet1/0/1]
port trunk allow-pass vlan 2
[CE1-GigabitEthernet1/0/1]
quit
[CE1]
cfm md md3
[CE1-md-md3]
ma ma3
[CE1-md-md3-ma-ma3]
map vlan 2
[CE1-md-md3-ma-ma3]
mep mep-id 3 interface gigabitethernet1/0/1 outward
[CE1-md-md3-ma-ma3]
mep ccm-send mep-id 3 enable
[CE1-md-md3-ma-ma3]
remote-mep mep-id 4
[CE1-md-md3-ma-ma3]
remote-mep ccm-receive mep-id 4 enable
# Configure CE2.
<HUAWEI>
system-view
[HUAWEI]
sysname CE2
[CE2]
vlan 2
[CE2]
interface gigabitethernet1/0/1
[CE2-GigabitEthernet1/0/1]
portswitch
[CE2-GigabitEthernet1/0/1]
port link-type trunk
[CE2-GigabitEthernet1/0/1]
port trunk allow-pass vlan 2
[CE2-GigabitEthernet1/0/1]
quit
[CE2]
cfm enable
[CE2]
cfm version standard
[CE2]
cfm md md3
[CE2-md-md3]
ma ma3
[CE2-md-md3-ma-ma3]
map vlan 2
[CE2-md-md3-ma-ma3]
mep mep-id 4 interface gigabitethernet1/0/1 outward
[CE2-md-md3-ma-ma3]
mep ccm-send mep-id 4 enable
[CE2-md-md3-ma-ma3]
remote-mep mep-id 3
[CE2-md-md3-ma-ma3]
remote-mep ccm-receive mep-id 3 enable
2.
Enable CE2 to receive DMMs.
# Configure CE2.
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.
871