# Configure Switch B.
[SwitchB] interface xgigabitethernet 0/0/1
[SwitchB-XGigabitEthernet0/0/1] efm enable
[SwitchB-XGigabitEthernet0/0/1] quit
[SwitchB] interface xgigabitethernet 0/0/2
[SwitchB-XGigabitEthernet0/0/2] bpdu enable
[SwitchB-XGigabitEthernet0/0/2] efm enable
[SwitchB-XGigabitEthernet0/0/2] quit
# Configure Switch C.
[SwitchC] interface xgigabitethernet 0/0/2
[SwitchC-XGigabitEthernet0/0/2] efm enable
[SwitchC-XGigabitEthernet0/0/2] quit
Run the display efm session all command to check the EFM OAM status, and you can find that
EFM OAM is in detect state. Take the display on Switch B as an example.
[SwitchB] display efm session all
  Interface                 EFM State                   Loopback Timeout
  ----------------------------------------------------------------------
  XGigabitEthernet0/0/1      detect                      --
  XGigabitEthernet0/0/2      detect                      --
Step 4 Configure association between EFM OAM modules.
[SwitchB] oam-mgr
[SwitchB-oam-mgr] oam-bind efm interface xgigabitethernet 0/0/1 efm interface 
xgigabitethernet 0/0/2
In the OAM management view, run the display this command to check association. You can
find that there are two unidirectional association configuration records, whose directions are
mutually reverse.
[SwitchB-oam-mgr] display this
#
oam-mgr
 oam-bind ingress efm interface XGigabitEthernet0/0/1 egress efm interface 
XGigabitEthernet0/0/2
 oam-bind ingress efm interface XGigabitEthernet0/0/2 egress efm interface 
XGigabitEthernet0/0/1
# 
Step 5 Verify the configuration.
# On SwitchC, enable the function of sending debugging information to a terminal.
<SwitchC> terminal logging
<SwitchC> terminal monitor 
# Shut down XGE 0/0/1 on SwitchA and simulate link faults.
[SwitchA] interface xgigabitethernet 0/0/1
[SwitchA-XGigabitEthernet0/0/1] shutdown
# Fault messages between SwitchA and SwitchB are transmitted to SwitchC through the
association mechanism. Then alarms are generated on SwitchC.
<SwitchC>
 Mar  9 2010 14:52:33 SwitchC %%01EFM/2/NONTHRESHOLD(l): OID 1.3.6.1.4.1.2011.5
.25.136.1.6.5 Non-threshold-crossing event occurred. 
(InterfaceName=XGigabitEthernet0/0/1, EventLogIndex=0, 
EventLogTimestamp=148983996, EventLogOui=[01.80.c2 (h
ex)], EventLogType=258, EventLogLocation=2, EventLogRunningTotal=0 3)  
----End
Quidway S6700 Series Ethernet Switches
Configuration Guide - Reliability 4 Ethernet OAM Configuration-EFM
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
180