
port link-type trunk
port trunk allow-pass 10
#
cfm md md1
ma ma1
map vlan 10
ccm-interval 10000
mep mep-id 2 interface Ethernet0/0/2 outward
mep ccm-send mep-id 2 enable
remote-mep mep-id 1
remote-mep ccm-receive mep-id 1 enable
#
oam-mgr
oam-bind ingress interface Ethernet0/0/1 egress cfm md md1 ma ma1
oam-bind ingress cfm md md1 ma ma1 trigger if-down egress interface
Ethernet0/0/1
#
return
l
Configuration file of Switch B
#
sysname SwitchB
#
vlan batch 10
#
cfm enable
#
interface Ethernet0/0/1
port link-type trunk
port trunk allow-pass 10
#
cfm md md1
ma ma1
map vlan 10
ccm-interval 10000
mep mep-id 1 interface Ethernet0/0/1 outward
mep ccm-send mep-id 1 enable
remote-mep mep-id 2
remote-mep ccm-receive mep-id 2 enable
#
return
4.18.7 Example for Configuring Association Between an EFM OAM
Module and an Ethernet CFM Module
Networking Requirements
As shown in
, to implement end-to-end link fault detection, you need to enable EFM
OAM between Switch A and Switch B and between Switch C and Switch D. and enable Ethernet
CFM between Switch B and Switch C. When a fault occurs on the link between Switch A and
Switch B, Ethernet CFM is triggered to send trap message to Switch D. When a fault occurs on
the link between Switch C and Switch D, Ethernet CFM is triggered to send trap message to
Switch A.
Figure 4-18
Networking diagram for configuring association between an EFM OAM module
and an Ethernet CFM module
SwitchA
SwitchB
SwitchC
SwitchD
Eth0/0/2
Eth0/0/1
Eth0/0/2
Eth0/0/2
Eth0/0/1
Eth0/0/2
VLAN10
VLAN10
Eth0/0/1
Eth0/0/1
Quidway S3700 Series Ethernet Switches
Configuration Guide - Reliability
4 Ethernet OAM Configuration
Issue 01 (2011-10-26)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
239