< Home

delay-measure one-way continual

Function

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

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

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

Format

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

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

Parameters

Parameter Description Value
mep mep-id Specifies the ID of a MEP. The value is an integer in the range 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 in the range from 1 to 8191.
interval { 1000 | 10000 | 30000 | 60000 | 150000 | 300000 } Specifies the interval at which DM frames are sent. The value is 1000, 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.

One-way frame delay measurement is implemented between two MEPs by exchanging DM frames. A MEP periodically sends DM frames carrying TxTimeStampf. After receiving a DM frame, the RMEP parses TxTimeStampf and compares this value with RxTimef (the time when the 1DM frame was received). The RMEP calculates the one-way frame delay based on these values using the following formula: Frame delay = RxTimef - TxTimeStampf

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

To implement proactive one-way frame delay measurement, specify the RMEP ID or destination MAC address, and interval at which DM frames are sent:
  • If the local MEP has not learned the RMEP MAC address, you must specify the destination MAC address for frame delay measurement.

  • If the local MEP has learned the RMEP MAC address, you can specify the RMEP ID for 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 in the MA view to create an inward-facing MEP.

If remote-mep mep-id is specified in the delay-measure one-way continual command, the following configurations must be completed:
  • 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.

  • One-way frame delay measurement can be implemented only after the MEP synchronizes the time with its RMEP.

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 proactive one-way frame delay measurement and set the destination MAC address to 01-22-33 and the interval at which DM frames are sent to 1000 ms.

<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 one-way continual send mep 1 mac 01-22-33 interval 1000

# In a VLAN, enable proactive one-way frame delay measurement and set the RMEP ID to 2 and the interval at which DM frames are sent to 1000 ms.

<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 one-way continual send mep 1 remote-mep 2 interval 1000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >