< Home

delay-measure two-way send

Function

The delay-measure two-way send command configures on-demand two-way frame delay measurement.

By default, on-demand two-way frame delay measurement is not configured in an MA.

Format

delay-measure two-way send mep mep-id { mac mac-address | remote-mep mep-id } interval { 1000 | 10000 } count count-value

Parameters

Parameter Description Value
mep mep-id Specifies the ID of a MEP. The value is an integer that ranges from 1 to 8191.
mac mac-address Specifies the MAC address of an RMEP. -
remote-mep mep-id Specifies the ID of an RMEP. The value is an integer that ranges from 1 to 8191.
interval Specifies the interval at which DMMs are sent. The value is 1000 or 10000, in milliseconds.
count count-value Specifies the number of sent DMMs. The value is an integer that ranges from 1 to 60.

Views

MA view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On-demand OAM indicates that OAM actions are initiated by manual configuration in a limited period of time. On-demand OAM may cause singular or periodic OAM actions during the diagnostic period. DM frames can be used for on-demand OAM to test the link delay.

Two-way frame delay measurement is performed by a local MEP to send a DMM to its RMEP and then receive a DMR from the RMEP. After the two-way frame delay measurement is configured, a MEP periodically sends DMMs carrying TxTimeStampf (the time when the DMM was sent). After receiving the DMM, the RMEP replies with a DMR. The DMR 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 except that the source and destination MAC addresses were interchanged. Upon receiving the DMR, the MEP calculates the two-way frame delay by using the following formula: Frame delay = (RxTimeb - TxTimeStampf) - (TxTimeStampb - RxTimeStampf)

Prerequisites

The command takes effect only after the following configurations are completed:

  • Run the cfm version standard command in the system view to specify IEEE Standard 802.1ag-2007 for CFM.

  • Run the cfm enable (system view) command to enable CFM globally.

  • Run the cfm md command in the system view to create an MD.

  • Run the ma command in the MD view to create an MA.

If remote-mep mep-id is specified in this command, the following configurations need to be completed in addition to the preceding configurations:

  • Run the remote-mep command in the MA view to create an RMEP.

  • Run the mep ccm-send enable command in the MA view to enable the local MEP in the MA to send CCMs.

  • Run the remote-mep ccm-receive enable command in the MA view to enable the MEP to receive CCMs from the RMEP in the same MA.

Precautions

  • IEEE 802.1ag has two versions: IEEE 802.1ag Draft 7 and IEEE Standard 802.1ag-2007. This command can be used only on the device running IEEE Standard 802.1ag-2007.

  • To implement on-demand two-way frame delay measurement, you need to specify the RMEP ID or destination MAC address, interval at which DMMs are sent, and measurement count:
    • If the local MEP has not learned the RMEP MAC address, you must specify the destination MAC address for two-way frame delay measurement.

    • If the local MEP has learned the RMEP MAC address, you can specify the RMEP ID for two-way frame delay measurement.

If the configuration changes during on-demand statistics, you can view only the pre-change statistics results. You are advised to run the command for on-demand statistics again for query.

Example

# In a VLAN, enable on-demand two-way frame delay measurement and set the destination MAC address to 01-22-33, interval at which DMMs are sent to 10000 ms, and measurement count to 60.

<HUAWEI> system-view
[HUAWEI] cfm enable
[HUAWEI] cfm md md1
[HUAWEI-md-md1] ma ma1
[HUAWEI-md-md1-ma-ma1] map vlan 100
[HUAWEI-md-md1-ma-ma1] delay-measure two-way send mep 1 mac 01-22-33 interval 10000 count 60

# In a VLAN, enable on-demand two-way frame delay measurement and set the RMEP ID to 2, interval at which DMMs are sent to 10000 ms, and measurement count to 60.

<HUAWEI> system-view
[HUAWEI] cfm enable
[HUAWEI] cfm md md1
[HUAWEI-md-md1] ma ma1
[HUAWEI-md-md1-ma-ma1] map vlan 100
[HUAWEI-md-md1-ma-ma1] delay-measure two-way send mep 1 remote-mep 2 interval 10000 count 60
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >