delay-measure one-way proactive

Function

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

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

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

Format

delay-measure one-way proactive [ interval { 1000 | 10000 } | exp expValue ] *

undo delay-measure one-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 expValue

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.

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 one-way on-demand frame DM, run the delay-measure one-way command.
  • To enable one-way proactive frame DM, run the delay-measure one-way proactive command.
  • To enable two-way on-demand frame DM, run the delay-measure two-way command.
  • To enable two-way proactive frame DM, run the delay-measure two-way proactive command.

    One-way proactive frame DM is implemented on a P2P link between a MEP and its RMEP. The MEP sends 1DMs to the RMEP and then receives replies from the RMEP. After the delay-measure one-way proactive command is run, the MEP sends 1DMs with the TxTimeStampf value at the interval specified by interval-value parameter. After receiving a 1DM, the RMEP parses the TxTimeStampf value and compares this value with the RxTimef value (the time when the 1DM was received). The RMEP calculates the one-way frame delay based on these values using the following equation:

    Frame delay = RxTimef - TxTimeStampf

    Query one-way proactive frame delay statistics in either of the following scenarios:
  • If the delay-measure one-way proactive command has been run on the MEP, run the display mpls-tp oam meg statistic-type delay-measure one-way command on the RMEP to view statistics about one-way proactive frame DM in the direction from the MEP to its RMEP.
  • If the delay-measure one-way proactive command has been run on the RMEP, run the display mpls-tp oam meg statistic-type delay-measure one-way command on the MEP to view statistics about one-way proactive frame DM in the direction from the RMEP to its MEP.

Prerequisites

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

Example

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