![Huawei Quidway NetEngine40E Скачать руководство пользователя страница 917](http://html.mh-extra.com/html/huawei/quidway-netengine40e/quidway-netengine40e_configuration-manual-reliability_169453917.webp)
[PE1-md-md1]
quit
# 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 100 tagged
NOTE
l
In VLAN networking, run the following command:
[PE2-md-md1-ma-ma1]
map vlan 2
l
In VPLS networking, run the following command:
[PE2-md-md1-ma-ma1]
map vsi ldp1
[PE2-md-md1-ma-ma1]
quit
[PE2-md-md1]
quit
Configure basic Ethernet CFM functions on each CE. Specify the Ethernet CFM protocol in the
version of IEEE Standard 802.1ag-2007. Create an MD named
md2
and an MA named
ma2
.
# Configure CE1.
<HUAWEI>
system-view
[HUAWEI]
sysname CE1
[CE1]
interface GigabitEthernet 1/0/1
[CE1-GigabitEthernet1/0/1]
undo shutdown
[CE1-GigabitEthernet1/0/1]
port trunk allow-pass vlan 10
[CE1-GigabitEthernet1/0/1]
quit
[CE1]
cfm version standard
[CE1]
cfm enable
[CE1]
cfm md md2 level 6
[CE1-md-md1]
ma ma2
[CE1-md-md1-ma-ma1]
map vlan 10
[CE1-md-md1-ma-ma1]
quit
[CE1-md-md1]
quit
# Configure CE2.
<HUAWEI>
system-view
[HUAWEI]
sysname CE2
[CE2]
interface GigabitEthernet 1/0/1
[CE2-GigabitEthernet1/0/1]
undo shutdown
[CE2-GigabitEthernet1/0/1]
port trunk allow-pass vlan 10
[CE2-GigabitEthernet1/0/1]
quit
[CE2]
cfm version standard
[CE2]
cfm enable
[CE2]
cfm md md2 level 6
[CE2-md-md2]
ma ma2
[CE2-md-md2-ma-ma2]
map vlan 10
[CE2-md-md2-ma-ma2]
quit
[CE2-md-md2]
quit
Step 3
Set the MEP type as inward on the AC-side interface of each PE (in VLAN networking, set the
MEP type on the AC-side interface as outward).
# Configure PE1.
[PE1]
cfm md md1
[PE1-md-md1]
ma ma1
[PE1-md-md1-ma-ma1]
mep mep-id 31 interface gigabitEthernet1/0/1.1 inward
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.
900