The lost-measure single-ended command enables single-ended frame loss measurement (LM) and displays statistics in real time.
By default, the single-ended frame loss measurement (LM) is disabled.
Parameter | Description | Value |
---|---|---|
exp exp-value |
Specifies the priority of LMMs for single-ended frame LM. |
The value is an integer ranging from 0 to 7. A larger value indicates a higher priority. The default value is 7. |
interval |
Sets the interval at which LMMs are sent. |
The value is either 1000 or 10000, in milliseconds. The default value is 1000. |
count count-value |
Specifies the number of LMMs for single-ended frame LM. |
The value is an integer ranging from 1 to 60. The default value is 5. |
Usage Scenario
Frame loss measurement is a performance monitoring function provided by MPLS-TP OAM. Single-ended frame LM is implemented on two MEPs of an LSP. Measurement results include the following data:
Prerequisites
The ME of the MEG has been bound to a tunnel.
Precautions
Single-ended frame loss measurement and dual-ended frame loss measurement cannot be enabled together on a MEG.
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] mpls te [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] interface GigabitEthernet 0/1/0.1 [*HUAWEI-GigabitEthernet0/1/0.1] vlan-type dot1q 1 [*HUAWEI-GigabitEthernet0/1/0.1] mpls static-l2vc destination 4.4.4.4 400 transmit-vpn-label 100 receive-vpn-label 200 [*HUAWEI-GigabitEthernet0/1/0.1] quit [*HUAWEI] mpls-tp meg test [*HUAWEI-mpls-tp-meg-test] me l2vc peer-ip 4.4.4.4 vc-id 400 vc-type vlan mep-id 1 remote-mep-id 2 [*HUAWEI-mpls-tp-meg-test] commit [*HUAWEI-mpls-tp-meg-test] lost-measure single-ended count 5 interval 1000 Single-end loss measurement statistics: Near-end lost frames Loss ratio(%) Far-end lost frames Loss ratio(%) 10 12.50 10 12.50 10 12.50 10 12.50 10 12.50 10 12.50 10 12.50 10 12.50 10 12.50 10 12.50 Packets sent:5,packets received:5 Max near-end lost frames:10,frame loss ratio:12.50 Min near-end lost frames:10,frame loss ratio:12.50 Average near-end lost frames:10,frame loss ratio:12.50 Max far-end lost frames:10,frame loss ratio:12.50 Min far-end lost frames:10,frame loss ratio:12.50 Average far-end lost frames:10,frame loss ratio:12.50
Item | Description |
---|---|
Single-end loss measurement statistics | Single-ended frame LM statistics:
|
Packets sent | Number of sent frames. |
Max near-end | Maximum statistics about dropped frames sent from the RMEP to the MEP:
|
Max far-end | Maximum statistics about dropped frames sent from the MEP to its RMEP:
|
Min near-end | Minimum statistics about dropped frames sent from the RMEP to the MEP:
|
Min far-end | Minimum statistics about dropped frames sent from the MEP to its RMEP:
|
Average near-end | Average statistics about dropped frames sent from the RMEP to the MEP:
|
Average far-end | Average statistics about dropped frames sent from the MEP to its RMEP:
|
packets received | Number of received frames. |