
You can use the
display efm session
command to check whether the EFM OAM protocols
running on the local interface and the peer are in the Detect state.
----End
4.5.3 Sending Test Packets
The sent test packets are a type of Ethernet packets that are constructed for testing the packet
loss ratio on a link. This function can be used with the EFM OAM remote loopback function to
test the packet loss ratio on the link.
Context
Do as follows on the device with an active interface on the link:
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
test-packet start
[
mac
mac-address
] [
vlan
vlan-id
]
interface
interface-type
interface-number
[
-c
count
|
-s
size
]
*
Test packets are sent.
By default, the size of a test packet is 64 bytes; the number of test packets sent is 5.
The outbound interface for the test packets is the interface that connects the link to be tested.
----End
Follow-up Procedure
The parameter in this command cannot be modified when test packets are being sent.
Press
Ctrl
+
C
to stop sending test packets.
4.5.4 Checking the Statistics on Returned Test Packets
By viewing statistics of returned test packets, you can calculate the packet loss ratio.
Context
Do as follows on the device with an active interface on the link:
Procedure
Step 1
Run:
display test-packet result
Statistics of the returned test packets are displayed.
The displayed information includes:
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.
166