[SwitchB-XGigabitEthernet0/0/1] efm error-frame-second notification enable
[SwitchB-XGigabitEthernet0/0/1] quit
Step 5 Verify the configuration.
# If EFM OAM is configured correctly on Switch A and Switch B, XGE 0/0/1 and XGE 0/0/1
start the handshake after negotiation. Run the display efm session command on Switch A or
Switch B, and you can find that the EFM OAM protocol is in detect state.
[SwitchB] display efm session interface gigabitethernet 0/0/1
Interface EFM State Loopback Timeout
--------------------------------------------------------------------
XGigabitEthernet0/0/1 detect --
# Run the display efm command on Switch B. If the function of detecting errored frames, errored
codes, and errored frame seconds on XGE 0/0/1 is configured corrected, the following
information is displayed:
[SwitchB] display efm interface xgigabitethernet 0/0/1
Item Value
-------------------------------------
Interface: XGigabitEthernet0/0/1
EFM Enable Flag: enable
Mode: active
OAMPDU MaxSize: 128
ErrCodeNotification: enable
ErrCodePeriod: 5
ErrCodeThreshold: 5
ErrFrameNotification: enable
ErrFramePeriod: 5
ErrFrameThreshold: 5
ErrFrameSecondNotification: enable
ErrFrameSecondPeriod: 120
ErrFrameSecondThreshold: 5
Hold Up Time: 10
ThresholdEvtTriggerErrDown: enable
TriggerIfDown: disable
TriggerMacRenew: disable
Remote MAC: 0010-0010-0010
Remote EFM Enable Flag: enable
Remote Mode: passive
Remote MaxSize: 128
Remote State: --
----End
Configuration Files
l Configuration file of Switch A
#
sysname SwitchA
#
efm enable
#
interface XGigabitEthernet0/0/1
efm mode passive
efm enable
#
return
l Configuration file of Switch B
#
sysname SwitchB
#
efm enable
#
interface XGigabitEthernet0/0/1
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.
175