
[SwitchC-md-md1-ma-ma1]
remote-mep mep-id 1
[SwitchC-md-md1-ma-ma1]
mep ccm-send enable
[SwitchC-md-md1-ma-ma1]
remote-mep ccm-receive enable
[SwitchC-md-md1-ma-ma1]
return
Step 4
Configure EFM OAM between Switch C and Switch D.
# Configure Switch C.
[SwitchC]
efm enable
[SwitchC]
interface ethernet 0/0/1
[SwitchC-Ethernet0/0/1]
bpdu enable
[SwitchC-Ethernet0/0/1]
efm enable
[SwitchC-Ethernet0/0/1]
quit
# Configure Switch D.
<Quidway>
system-view
[Quidway]
sysname SwitchD
[SwitchD]
efm enable
[SwitchD]
interface ethernet 0/0/1
[SwitchD-Ethernet0/0/1]
bpdu enable
[SwitchD-Ethernet0/0/1]
efm mode passive
[SwitchD-Ethernet0/0/1]
efm enable
[SwitchD-Ethernet0/0/1]
quit
Step 5
Configure association between an EFM OAM module and an Ethernet CFM module.
# Associate EFM OAM between Switch A and Switch B with Ethernet CFM between Switch
B and Switch C in both directions. That is, enable the EFM OAM and Ethernet CFM modules
to send trap messages to each other.
[SwitchB]
oam-mgr
[SwitchB-oam-mgr]
oam-bind cfm md md1 ma ma1 efm interface ethernet 0/0/1
[SwitchB-oam-mgr]
quit
# Associate EFM OAM between Switch C and Switch D with Ethernet CFM between Switch
B and Switch C in both directions. That is, enable the EFM OAM and Ethernet CFM modules
to send trap messages to each other.
[SwitchC]
oam-mgr
[SwitchC-oam-mgr]
oam-bind cfm md md1 ma ma1 efm interface ethernet 0/0/1
[SwitchC-oam-mgr]
quit
Step 6
Verify the configuration.
# On Switch D, enable the function of sending debugging information to a terminal.
<SwitchD>
terminal logging
<SwitchD>
terminal monitor
# Shut down Eth 0/0/1 on Switch A to simulate a link fault.
[SwitchA]
interface ethernet 0/0/1
[SwitchA-Ethernet0/0/1]
shutdown
[SwitchA-Ethernet0/0/1]
quit
After the preceding configuration is complete, when EFM OAM between Switch A and Switch
B detects a fault, Ethernet CFM reports the fault to EFM OAM running between Switch C and
Switch D.
<SwitchD>
Nov 23 2007 18:31:27-05:00 Switch D %%01EFM/2/NONTHRESHOLD(l)[0]:OID 1.3.6.1.4.
1.2011.5.25.136.1.6.5 Non-threshold-crossing event occurred.
(InterfaceName=Ethernet0/0/1, EventLogIndex=0, EventLogTimestamp=7357971,
EventLogOui=[01.80
.c2 (hex)], EventLogType=258, EventLogLocation=1, EventLogRunningTotal=0 1)
Nov 23 2007 18:31:27-05:00 SwitchD %%01OAMMGR/4/CFM_TO_EFM(l)[1]:802.1AG notif
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.
241