delay-measure two-way proactive

Function

The delay-measure two-way proactive command enables proactive two-way frame delay measurement (DM).

The undo delay-measure two-way proactive command disables proactive two-way frame DM.

By default, proactive two-way frame DM is disabled.

Format

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

undo delay-measure two-way proactive

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.

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. Four frame DM modes are supported.

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

    proactive two-way frame DM is performed by a local MEP to send a DMM to its RMEP and then receive a delay measurement reply (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 specified intervals. 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)

Prerequisites

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

Example

# Configure a MEP in a MEG named test to send DMMs at an interval of 1000 ms.
<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] delay-measure two-way proactive interval 1000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >