![Huawei Quidway NetEngine40E Скачать руководство пользователя страница 555](http://html.mh-extra.com/html/huawei/quidway-netengine40e/quidway-netengine40e_configuration-manual-reliability_169453555.webp)
#
cfm enable
#
interface GigabitEthernet1/0/0
portswitch
port trunk allow-pass vlan 2 to 3
#
interface GigabitEthernet1/0/1
portswitch
port trunk allow-pass vlan 3
#
interface GigabitEthernet1/0/2
portswitch
port trunk allow-pass vlan 2
#
cfm md md1 level 6
ma ma1
map vlan 2
mep mep-id 2 interface gigabitethernet 1/0/2 inward
mep ccm-send mep-id 2 enable
remote-mep mep-id 1
remote-mep ccm-receive mep-id 1 enable
remote-mep mep-id 3
remote-mep ccm-receive mep-id 3 enable
ma ma2
map vlan 3
mep mep-id 1 interface gigabitethernet 1/0/1 inward
mep ccm-send mep-id 1 enable
remote-mep mep-id 2
remote-mep ccm-receive mep-id 2 enable
#
return
l
Configuration file of Router I
#
sysname RouterI
#
vlan batch 2
#
cfm enable
#
interface GigabitEthernet1/0/0
portswitch
port trunk allow-pass vlan 2
#
interface GigabitEthernet1/0/1
portswitch
port trunk allow-pass vlan 2
#
cfm md md1 level 6
ma ma1
map vlan 2
mep mep-id 1 interface gigabitethernet 1/0/1 inward
mep ccm-send mep-id 1 enable
remote-mep mep-id 2
remote-mep ccm-receive mep-id 2 enable
remote-mep mep-id 3
remote-mep ccm-receive mep-id 3 enable
#
return
Example for Configuring the Ethernet CFM Function (Layer 2 Network Accessing
Layer 3 Network)
This section describes the example for configuring the Ethernet CFM function to monitor the
end-to-end connectivity in a scenario where the Layer 2 network accesses the Layer 3 network.
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.
538