The delay-measure one-way send command configures on-demand one-way frame delay measurement.
By default, on-demand one-way frame delay measurement is not configured in an MA.
Parameter | Description | Value |
---|---|---|
interval |
Specifies the interval at which DMMs are sent. |
The value is 1000 or 10000, in milliseconds. |
count count-value |
Specifies the number of one-way frame delay measurement operations. count-value must be configured. There is no default value. |
The value is an integer ranging from 1 to 60. |
test-id test-id-value |
Specifies the ID of a test instance. |
The value is an integer ranging from 1 to 4294967295. |
Usage Scenario
On-demand OAM refers to OAM actions that are initiated through manual intervention for a limited time to carry out diagnostics. On-demand OAM can result in singular or periodic OAM actions during the diagnostics time interval. DM packets can be used for on-demand OAM to test the link delay.
One-way frame delay measurement is performed on end-to-end MEPs. A MEP receives a DM frame and returns a DMR frame to carry out the one-way frame delay measurement. A MEP periodically sends DMMs carrying TxTimeStampf. After receiving a DM frame, the remote MEP calculates the one-way frame delay based on the following formula: Frame delay = RxTimef - TxTimeStampf When the clocks of the MEPs at both ends of a link are synchronized, you can run this command to implement singular or periodic one-way frame delay measurement.Prerequisites
Configuration Impact
After the configuration is complete, on-demand one-way frame delay measurement is implemented for links.
Precautions
<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 one-way send test-id 1 interval 10000 count 60