mpls oam ingress delay-measure two-way proactive

Function

The mpls oam ingress delay-measure two-way proactive command enables proactive two-way frame delay measurement (DM) on the ingress of Tunnel.

The undo mpls oam ingress delay-measure two-way proactive command disables proactive two-way frame DM on the ingress of Tunnel.

By default, proactive two-way frame DM is disabled for a bidirectional LSP.

Format

mpls oam ingress delay-measure two-way proactive [ exp expvalue | packet-size packet-size-value [ padding-value { 0 | 1 } ] ] * { tunnel-type tunnel-number | tunnel-name }

undo mpls oam ingress delay-measure two-way proactive { tunnel-type tunnel-number | tunnel-name }

Parameters

Parameter Description Value
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.

packet-size packet-size-value

Specifies the size of a sent probe packet.

The value is an integer ranging from 64 to 1500, in bits.

padding-value

Indicates the padding value in a packet.

The value is 0 or 1. The default value is 0.

  • If the value is set to 0, each bit in a packet is padded with 0.
  • If the value is set to 1, each bit in a packet is padded with 1.
tunnel-type tunnel-number

Specifies a tunnel interface for sending probe packets.

-

Views

System 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.

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

# Enable proactive two-way frame DM on the ingress of the tunnel. Set the packet priority to 5.
<HUAWEI> system-view
[~HUAWEI] interface tunnel 10
[*HUAWEI-Tunnel10] tunnel-protocol mpls te
[*HUAWEI-Tunnel10] quit
[*HUAWEI] mpls
[*HUAWEI-mpls] mpls oam
[*HUAWEI-mpls] quit
[*HUAWEI] mpls oam ingress Tunnel 10
[*HUAWEI] mpls oam ingress delay-measure two-way proactive exp 5 tunnel 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >