<Quidway> system-view
[Quidway] sysname SwitchB
[SwitchB] efm enable
[SwitchB] interface xgigabitethernet 0/0/2
[SwitchB-XGigabitEthernet0/0/2] bpdu enable
[SwitchB-XGigabitEthernet0/0/2] efm mode passive
[SwitchB-XGigabitEthernet0/0/2] efm enable
[SwitchB-XGigabitEthernet0/0/2] quit
# Configure Switch C.
<Quidway> system-view
[Quidway] sysname SwitchC
[SwitchC] efm enable
[SwitchC] interface xgigabitethernet 0/0/2
[SwitchC-XGigabitEthernet0/0/2] bpdu enable
[SwitchC-XGigabitEthernet0/0/2] efm enable
[SwitchC-XGigabitEthernet0/0/2] quit
Run the display efm session interface command on Switch B to check the EFM OAM status,
and you can find that EFM OAM is in detect state.
[SwitchB] display efm session interface xgigabitethernet 0/0/2
  Interface               EFM State                Loopback Timeout
  --------------------------------------------------------------------
  XGigabitEthernet0/0/2    detect               --
Step 2 Configure association between an EFM OAM module with an interface.
# Enable XGE 0/0/1 on Switch B and the EFM OAM module between Switch B and Switch C
to report faults to each other.
[SwitchB] oam-mgr
[SwitchB-oam-mgr] oam-bind efm interface xgigabitethernet 0/0/2 trigger if-down 
interface xgigabitethernet 0/0/1
[SwitchB-oam-mgr] quit
Step 3 Verify the configuration.
After XGE 0/0/2 on Switch B is shut down, the EFM OAM module reports the fault to XGE
0/0/1. Then XGE 0/0/1 is triggered to go Down.
[SwitchB] display interface xgigabitethernet 0/0/1
XGigabitEthernet0/0/1 current state : TRIGGER DOWN 
(3AH) 
Line protocol current state : DOWN                                              
Description:HUAWEI, Quidway Series, XGigabitEthernet0/0/1 Interface              
Switch Port,PVID :    1,The Maximum Frame Length is 1600                        
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 0018-8211-1111 
Port Mode: COMBO AUTO                                                           
Current Work Mode: COPPER                                                       
Speed : 1000,  Loopback: NONE                                                   
Duplex: FULL,  Negotiation: ENABLE                                              
Mdi   : AUTO                                                                    
Last 300 seconds input rate 0 bits/sec, 0 packets/sec                           
Last 300 seconds output rate 0 bits/sec, 0 packets/sec                          
Input peak rate 0 bits/sec,Record time: -                                       
Output peak rate 0 bits/sec,Record time: -                                      
Input:  0 packets, 0 bytes                                                      
Unicast        :                   0,Multicast          :                   0   
Broadcast      :                   0,Jumbo              :                   0   
CRC            :                   0,Giants             :                   0   
Jabbers        :                   0,Throttles          :                   0   
Runts          :                   0,DropEvents         :                   0   
Alignments     :                   0,Symbols            :                   0   
Ignoreds       :                   0,Frames             :                   0   
Discard        :                   0,Total Error        :                   0   
Output:  0 packets, 0 bytes                                                     
Unicast        :                   0,Multicast          :                   0   
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.
177