The mpls oam l2vc delay-measure two-way proactive command enables proactive two-way frame delay measurement (DM) for a PW.
The undo mpls oam l2vc delay-measure two-way proactive command disables proactive two-way frame DM for a PW.
By default, proactive two-way frame DM is disabled for a PW.
Parameter | Description | Value |
---|---|---|
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. |
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.
|
peer-ip peer-ip |
Specifies the destination IP address of a PW. |
The value is in dotted decimal notation. |
vc-id vc-id |
Specifies a PW ID. |
The value is an integer ranging from 1 to 4294967295. |
vc-type vc-type |
Specifies the type of a remote L2VC. |
Encapsulation types supported:
|
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)<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] mpls oam [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] interface GigabitEthernet 0/1/0 [*HUAWEI-GigabitEthernet0/1/0] mpls l2vc 2.2.2.2 100 [*HUAWEI-GigabitEthernet0/1/0] quit [*HUAWEI] mpls-oam [*HUAWEI-mpls-oam] mpls oam l2vc peer-ip 2.2.2.2 vc-id 100 vc-type ethernet type cv [*HUAWEI-mpls-oam] mpls oam l2vc delay-measure two-way proactive exp 1 peer-ip 2.2.2.2 vc-id 100 vc-type ethernet