
[SwitchA]
interface ethernet 0/0/1
[SwitchA-Ethernet0/0/1]
efm mode passive
[SwitchA-Ethernet0/0/1]
bpdu enable
Step 3
Enable EFM OAM on Eth 0/0/1 of Switch B and Eth 0/0/1 of Switch A.
# Enable EFM OAM on Eth 0/0/1 of Switch A.
[SwitchA-Ethernet0/0/1]
efm enable
[SwitchA-Ethernet0/0/1]
quit
# Enable EFM OAM of Eth 0/0/1 on Switch B.
[SwitchB]
interface ethernet 0/0/1
[SwitchB-Ethernet0/0/1]
efm enable
[SwitchB-Ethernet0/0/1]
bpdu enable
Step 4
Configure Eth 0/0/1 of Switch B to detect the errored frames, errored codes, and errored frame
seconds.
# Configure Eth 0/0/1 of Switch B to detect the errored frames.
[SwitchB-Ethernet0/0/1]
efm error-frame period 5
[SwitchB-Ethernet0/0/1]
efm error-frame threshold 5
[SwitchB-Ethernet0/0/1]
efm error-frame notification enable
# Configure Eth 0/0/1 of Switch B to detect the errored codes.
[SwitchB-Ethernet0/0/1]
efm error-code period 5
[SwitchB-Ethernet0/0/1]
efm error-code threshold 5
[SwitchB-Ethernet0/0/1]
efm error-code notification enable
# Configure n Eth 0/0/1 of Switch B to detect the errored frames seconds.
[SwitchB-Ethernet0/0/1]
efm error-frame-second period 120
[SwitchB-Ethernet0/0/1]
efm error-frame-second threshold 5
[SwitchB-Ethernet0/0/1]
efm error-frame-second notification enable
[SwitchB-Ethernet0/0/1]
quit
Step 5
Verify the configuration.
# If EFM OAM is configured correctly on Switch A and Switch B, Eth 0/0/1 and Eth 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 ethernet 0/0/1
Interface EFM State Loopback Timeout
--------------------------------------------------------------------
Ethernet0/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 Eth 0/0/1 is configured corrected, the following information
is displayed:
[SwitchB]
display efm interface ethernet 0/0/1
Item Value
-------------------------------------
Interface: Ethernet0/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
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.
212