lost-measure single-ended

Function

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.

Format

lost-measure single-ended [ exp exp-value | interval { 1000 | 10000 } | count count-value ] *

Parameters

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.

Views

Maintenance entity group view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
tpoam write

Usage Guidelines

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:

  • Near-end frame loss data: indicates the number and percentage of dropped frames that are sent from an RMEP to a MEP.
  • Far-end frame loss data: indicates the number and percentage of dropped frames that are sent from a MEP to an RMEP.

    Percentage of dropped frames = Number of dropped frames/Number of sent frames during the time specified by interval-value

    The number of lost frames is the difference between the number of frames sent by the ingress and the number of frames received by the egress on a point-to-point LSP. For example, the lost-measure single-ended interval 1000 count 10 command is run to enable a MEP to send an LMM every 1000 ms for 10 times. Statistics about dropped frames will be displayed.

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.

Example

# Configure a MEG named test to send an LMM every 1 second for 5 times to perform single-ended frame LM.
<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
Table 1 Description of the lost-measure single-ended command output
Item Description
Single-end loss measurement statistics

Single-ended frame LM statistics:

  • Near-end lost frames: number of frames dropped on the MEP.
  • Loss ratio: percentage of dropped frames sent from the RMEP to the MEP.
  • Far-end lost frames: number of frames dropped on the RMEP.
  • Loss ratio: percentage of dropped frames sent from the MEP to its RMEP.
Packets sent

Number of sent frames.

Max near-end

Maximum statistics about dropped frames sent from the RMEP to the MEP:

  • lost frames: number of dropped frames.
  • frame loss ratio: percentage of dropped frames.
Max far-end

Maximum statistics about dropped frames sent from the MEP to its RMEP:

  • lost frames: number of dropped frames.
  • frame loss ratio: percentage of dropped frames.
Min near-end

Minimum statistics about dropped frames sent from the RMEP to the MEP:

  • lost frames: number of dropped frames.
  • frame loss ratio: percentage of dropped frames.
Min far-end

Minimum statistics about dropped frames sent from the MEP to its RMEP:

  • lost frames: number of dropped frames.
  • frame loss ratio: percentage of dropped frames.
Average near-end

Average statistics about dropped frames sent from the RMEP to the MEP:

  • lost frames: number of dropped frames.
  • frame loss ratio: percentage of dropped frames.
Average far-end

Average statistics about dropped frames sent from the MEP to its RMEP:

  • lost frames: number of dropped frames.
  • frame loss ratio: percentage of dropped frames.
packets received

Number of received frames.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >