
[SwitchA-Ethernet0/0/1]
efm enable
[SwitchA-Ethernet0/0/1]
quit
# Enable EFM OAM on Eth 0/0/1 of Switch B.
[SwitchB]
interface ethernet 0/0/1
[SwitchB-Ethernet0/0/1]
bpdu enable
[SwitchB-Ethernet0/0/1]
efm enable
[SwitchB-Ethernet0/0/1]
quit
# 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
--
Step 2
Enable EFM OAM remote loopback.
# Enable EFM OAM remote loopback on Switch B.
[SwitchB]
interface ethernet 0/0/1
[SwitchB-Ethernet0/0/1]
efm loopback start
[SwitchB-Ethernet0/0/1]
quit
# Verify the configuration.
Run the
display efm session
command on Switch B. If the EFM OAM protocol on Eth 0/0/1 is
in Loopback (control) state, that is, Eth 0/0/1 initiates remote loopback, the configuration is
successful. The displayed information is as follows:
[SwitchB]
display efm session interface ethernet 0/0/1
Interface EFM State Loopback Timeout
----------------------------------------------------------------------
Ethernet0/0/1
Loopback(control)
20
Run the
display efm session
command on Switch A. If the EFM OAM protocol on Eth 0/0/1 is
in Loopback (be controlled) state, that is, Eth 0/0/1 responds to remote loopback, it indicates
that the configuration is successful. The displayed information is as follows:
[SwitchA]
display efm session interface ethernet 0/0/1
Interface EFM State Loopback Timeout
----------------------------------------------------------------------
Ethernet0/0/1
Loopback(be controlled)
--
Step 3
Send test packets from Switch B to Switch A.
[SwitchB]
test-packet start interface ethernet 0/0/1
Please wait..............
Info: The test is completed.
Step 4
Check the returned test packets on Switch B.
[SwitchB]
display test-packet result
Test Result Value
------------------------------------------
PacketsSend : 5
PacketsReceive : 5
PacketsLost : Lost = 0 (0% loss)
BytesSend : 128
BytesReceive : 128
BytesLost : 0
StartTime : 2009-02-21 18:07:01
EndTime : 2009-02-21 18:07:02
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.
215