The delay-measure two-way continual send command configures proactive two-way frame delay measurement.
The undo delay-measure two-way continual send command cancels the configuration.
By default, proactive two-way frame delay measurement is not configured in an MA.
Parameter | Description | Value |
---|---|---|
interval |
Specifies an interval at which DMMs are sent. |
The value can be 30000, 10000, or 1000, in milliseconds. |
period period |
Specifies the interval at which statistics are collected. |
The value is an integer ranging from 1 to 65535, in seconds. The default value is 900. |
test-id test-id-value |
Specifies the test ID. |
The value is a string of 1 to 4294967295 characters. |
Usage Scenario
Proactive OAM refers to OAM actions which are carried out continuously to permit proactive reporting of faults or performance results.
Two-way frame delay measurement is commonly performed on end-to-end MEPs. A MEP receives a DMM and returns a DMR to carry out two-way frame delay measurements. After two-way frame delay measurement is configured, a MEP periodically sends DMMs with the TxTimeStampf value (timestamp at the time of sending the DM frame). After receiving a DMM frame, the remote MEP adds the RxTimeStampf value (timestamp at the time of receiving the DMM frame) to the DMM frame, generates a DMR frame with the TxTimeStampb value (timestamp at the time of sending the DMR frame), and sends the message to the requesting MEP. Every field in the DMM frame is copied to the DMR frame except that the source and destination MAC addresses are swapped and the message type is changed from DMM to DMR. Upon receiving the DMR frame, the requesting MEP calculates the two-way frame delay based on the following formula: Frame delay = (RxTimeb - TxTimeStampf) - (TxTimeStampb - RxTimeStampf) When the clocks of the MEPs at both ends of a link cannot be synchronized, you can run the delay-measure two-way continual command to implement continual two-way frame delay measurement for a PW. 802.1p priorities carried by packets on a network are used to differentiate services, and therefore different policies can be deployed for services. Frame delay measurement based on a specified 802.1p priority can be performed to prevent inaccurate frame delay statistics caused by different priorities of packets. If 8021p-value parameter is not specified, frame delay measurement based on all priorities is performed for the PW. To implement proactive two-way frame delay measurement, you need to specify the remote MEP ID or the destination MAC address and the interval at which DMMs are sent.Prerequisites
Configuration Impact
After the configuration is complete, proactive two-way frame delay measurement is implemented for links.
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] interface GigabitEthernet 0/1/1 [*HUAWEI-GigabitEthernet0/1/1] undo shutdown [*HUAWEI-GigabitEthernet0/1/1] mpls l2vc 2.2.2.2 100 [*HUAWEI-GigabitEthernet0/1/1] quit [*HUAWEI] cfm enable [*HUAWEI] cfm md md1 [*HUAWEI-md-md1] ma ma1 [*HUAWEI-md-md1-ma-ma1] map mpls l2vc 2.2.2.2 100 raw [*HUAWEI-md-md1-ma-ma1] mep mep-id 1 interface GigabitEthernet0/1/1 inward [*HUAWEI-md-md1-ma-ma1] test-id 1 mep 1 mac 00e0-fc12-7890 [*HUAWEI-md-md1-ma-ma1] mep ccm-send mep-id 1 enable [*HUAWEI-md-md1-ma-ma1] remote-mep mep-id 2 [*HUAWEI-md-md1-ma-ma1] remote-mep ccm-receive mep-id 2 enable [*HUAWEI-md-md1-ma-ma1] test-id 1 mep 1 remote-mep 2 [*HUAWEI-md-md1-ma-ma1] commit [~HUAWEI-md-md1-ma-ma1] delay-measure two-way continual send test-id 1 interval 30000