loss-measure single-ended send

Function

The loss-measure single-ended send command enables on-demand single-ended packet loss measurement.

By default, on-demand single-ended packet loss measurement is disabled.

Format

loss-measure single-ended send test-id test-id interval { 1000 | 10000 } count count-value

Parameters

Parameter Description Value
test-id test-id

Specifies the ID of a test instance.

The value is an integer ranging from 1 to 4294967295.

interval

Specifies the interval at which Loss Measurement Messages (LMMs) are sent.

The value is 1000 or 10000.

count count-value

Specifies the number of the single-ended frame loss measurement operations.

The value is an integer ranging from 1 to 60.

Views

MA view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
y1731 execute

Usage Guidelines

Usage Scenario

On-demand OAM refers to OAM actions which are initiated via 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. Single-ended LMMs can be used for packet loss measurement in on-demand OAM.

To implement singular or periodic packet loss measurement, you can run this command.

Prerequisites

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

  • Run the cfm version standard command in the system view to set the CFM version to IEEE Standard 802.1ag-2007.
  • CFM has been enabled globally using the cfm enable command in the system view.
  • Run the cfm md command in the system view to create an MD.
  • An MA is created through the ma command in the MD view.
  • Outward MEPs are supported in VLL, VPLS, and VLAN scenarios, and inward MEPs are supported in VPLS and VLL scenarios. Creates an MEP based on the MEP type.
  • Run the mep mep-id command with inward specified in the MA view to create an inward-facing MEP.
  • Run the mep mep-id command with outward specified in the MA view to create an outward-facing MEP.
  • Run the remote-mep command in the MA view to create an RMEP in the MA.
  • Run the mep ccm-send enable command in the MA view to enable the 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.
  • A test instance has been created using the test-id command in the MA view.

Configuration Impact

After the configuration is complete, on-demand single-ended frame loss measurement is implemented.

Precautions

Configuring on-demand single-ended frame loss measurement involves the setting of the remote MEP ID or destination MAC address, interval at which LMMs are sent, and measurement period.

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

Example

# Enable single-ended frame loss measurement and set the measurement interval to 10 seconds, measurement times to 60, and test instance 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] test-id 1 mep 1 mac 00e0-fc12-7890
[*HUAWEI-md-md1-ma-ma1] loss-measure single-ended send test-id 1 interval 10000 count 60
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >