delay-measure one-way continual send

Function

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

The undo delay-measure one-way continual send 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 test-id test-id-value interval { 1000 | 10000 | 30000 | 60000 }

undo delay-measure one-way continual send [ test-id test-id-value ]

Parameters

Parameter Description Value
interval

Specifies an interval at which DMMs are sent.

-

1000

Specifies an interval at which DMMs are sent.

The value is 1000 in milliseconds.

10000

Specifies an interval at which DMMs are sent.

The value is 10000 in milliseconds.

30000

Specifies an interval at which DMMs are sent.

The value is 30000 in milliseconds.

60000

Specifies an interval at which DMMs are sent.

The value is 60000 in milliseconds.

test-id test-id-value

Specifies the ID of a test instance.

The value is an integer ranging from 1 to 4294967295.

Views

MA view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
y1731 write

Usage Guidelines

Usage Scenario

Proactive OAM refers to OAM actions that are carried out continuously to permit proactive reporting of faults or performance results.

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 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 = (RxTimeb - TxTimeStampf) - (TxTimeStampb - RxTimeStampf)

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

Proactive one-way frame delay measurement is performed by specifying the remote MEP ID or destination MAC address and interval at which DMMs are sent.

  • If the local MEP has not learned the MAC address of the remote MEP, you must specify the destination MAC address for frame delay measurement.
  • If the local MEP has learned the MAC address of the remote MEP, you can specify the remote MEP ID for frame delay measurement.

Prerequisites

  • IEEE Standard 802.1ag-2007 has been specified for CFM using the cfm version standard command in the system view.
  • The CFM function has been globally enabled using the cfm enable command in the system view.
  • An MD has been created using the cfm md command in the system view.
  • An MA has been created using the ma command in the MD view.
  • The MA has been bound to a specified L2VC using the map mpls l2vc command in the MA view.
  • An inward-facing MEP has been created using the mep mep-id command in the MA view.
  • An RMEP has been created in the MA using the remote-mep command in the MA view.
  • The local MEP in the MA has been enabled to send CCMs using the mep ccm-send enable command in the MA view.
  • The local MEP has been enabled to receive CCMs from the RMEP in the same MA using the remote-mep ccm-receive enable command in the MA view.
  • A test instance has been created using the test-id command in the MA view.

Configuration Impact

After the delay-measure one-way continual send command is run, proactive one-way frame delay measurement is implemented for links.

Precautions

One-way frame delay measurement requires that clocks of the local MEP and RMEP be synchronized.

Example

# Configure proactive one-way frame delay measurement, and set the interval at which DMMs are sent to 1 second and the test instance ID to 1.
<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] 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 continual send test-id 1 interval 1000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >