< Home

delay-measure two-way continual

Function

The delay-measure two-way continual command configures proactive two-way frame delay measurement.

The undo delay-measure two-way continual command cancels the configuration.

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

Format

delay-measure two-way continual send mep mep-id { mac mac-address | remote-mep mep-id } interval { 1000 | 10000 | 30000 | 60000 | 150000 | 300000 }

undo delay-measure two-way continual send [ mep mep-id ]

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 { 1000 | 10000 | 30000 | 60000 | 150000 | 300000 } Specifies the interval at which DMMs frames are sent. The value is 30000, 10000, 30000, 60000, 150000, and 300000, in milliseconds.

Views

MA view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Proactive OAM indicates that OAM actions are carried out continuously.

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)

When clocks of the MEPs at both ends of a link are not synchronized, the delay-measure two-way continual command can be used to implement proactive two-way frame delay measurement for a VLAN.

To implement proactive 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.

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.

  • Run the mep mep-id command with inward specified in the MA view to create an inward-facing MEP.

If remote-mep mep-id is specified in the delay-measure two-way continual 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.

Example

# In a VLAN, enable proactive two-way frame delay measurement and set the destination MAC address to 01-22-33 and the interval at which DMMs are sent to 30s.

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

# In a VLAN, enable proactive two-way frame delay measurement and set the RMEP ID to 2 and the interval at which DMMs are sent to 30s.

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