delay-measure two-way

Function

The delay-measure two-way command enables on-demand two-way frame DM and displays statistics in real time.

By default, on-demand two-way frame DM is disabled.

Format

delay-measure two-way [ interval { 1000 | 10000 } | count count-value | exp exp-value | two-time-stamp ] *

Parameters

Parameter Description Value
interval

Sets the interval at which DMMs are sent.

The value is either 1000 or 10000, in milliseconds. The default value is 1000.

count count-value

Specifies the number of DMMs to be sent.

The value is an integer ranging from 1 to 60. The default value is 5.

exp exp-value

Specifies a priority for DMMs.

The value is an integer ranging from 0 to 7. A larger value indicates a higher priority. The default value is 7.

two-time-stamp

Indicates that the calculation mode is two-timestamp.

-

Views

Maintenance entity group view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
tpoam write

Usage Guidelines

Usage Scenario

DM is an MPLS-TP performance monitoring function. One-way frame DM and two-way frame DM are supported.

  • To enable on-demand one-way frame DM, run the delay-measure one-way command.
  • To enable on-demand two-way frame DM and display statistics in real time, run the delay-measure two-way command.

    Two-way frame DM is performed by a local MEP to send a DMM to its RMEP and then receive a DMR from the RMEP. After two-way frame DM is configured, a MEP sends a DMM with the TxTimeStampf value (the time when the DMM was sent) at the interval specified by interval. After receiving the DMM, the RMEP replies with a DMR. This reply carries RxTimeStampf (the time when the DMM was received) and TxTimeStampb (the time when the DMR was sent). The value in every field of the DMM is copied to the DMR, with the exception that the source and destination MAC addresses are interchanged. Upon receipt of the DMR, the MEP calculates the two-way frame delay using the following equation:

    Frame delay = (RxTimeb - TxTimeStampf) - (TxTimeStampb - RxTimeStampf)

    If count-value is greater than 1, the frame delay is recalculated each time the specified interval expires. This process repeats until count-value is reached.

Prerequisites

The ME of the MEG has been bound to a tunnel.

Example

# Configure a MEP in a MEG named test to send 10 DMMs at an interval of 1 second for two-way frame DM.
<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] delay-measure two-way interval 1000 count 10
Two-way delay measure statistics
delay(us):        delay variation(us):
1347              --
1405              58
1390              15
1327              63
1426              99
1500              74
1416              84
1245              171
1322              77
1406              84
The Max delay: 1500, The Max delay variation: 171
The Min delay: 1245, The Min delay variation: 15
The delay average: 1378, The delay variation average: 81
Total sent Packets Number: 10, Total received Packets Number: 10
Table 1 Description of the delay-measure two-way command output
Item Description
delay variation(us)

Delay jitter.

The Max delay

Maximum delay.

The Max delay variation

Maximum delay jitter.

The Min delay

Minimum delay.

The Min delay variation

Minimum delay jitter.

The delay average

Average delay.

The delay variation average

Average delay jitter.

Total sent Packets Number

Total number of sent packets.

Total received Packets Number

Total number of received packets.

delay(us)

Two-way frame delay.

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