The mpls oam bidirectional-tunnel delay-measure two-way proactive command enables proactive two-way frame delay measurement (DM) for a bidirectional LSP.
The undo mpls oam bidirectional-tunnel delay-measure two-way proactive command disables proactive two-way frame DM for a bidirectional LSP.
By default, proactive two-way frame DM is disabled for a bidirectional LSP.
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 packSizeValue |
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.
|
tunnelType tunnelNum |
Specifies the tunnel type and number. |
- |
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)Precautions
The system can display a maximum of 60 proactive two-way frame DM records. If the number of proactive two-way frame DM records exceeds 60, the earlier records are overwritten.
<HUAWEI> system-view [*HUAWEI] mpls [*HUAWEI-mpls] mpls te [*HUAWEI-mpls] mpls oam [*HUAWEI-mpls] quit [*HUAWEI] interface tunnel 10 [*HUAWEI-Tunnel10] tunnel-protocol mpls te [*HUAWEI-Tunnel10] mpls te signal-protocol cr-static [*HUAWEI-Tunnel10] mpls te bidirectional [*HUAWEI-Tunnel10] quit [*HUAWEI] mpls-oam [*HUAWEI-mpls-oam] mpls oam bidirectional-tunnel Tunnel 10 type cv auto-protocol overtime 30 [*HUAWEI-mpls-oam] mpls oam bidirectional-tunnel delay-measure two-way proactive Tunnel 10