< Home

loss-measure single-ended send

Function

The loss-measure single-ended send command enables single-ended frame loss measurement.

By default, single-ended frame loss measurement is disabled.

Only the S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.

Format

loss-measure single-ended 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 in the range from 1 to 8191.
mac mac-address Specifies the MAC address of an RMEP. The value is in the format of H-H-H, where H is a hexadecimal number of 1 to 4 digits.
remote-mep mep-id Specifies the ID of an RMEP. The value is an integer in the range from 1 to 8191.
interval Specifies the interval at which LMMs are sent. The value is 1000 or 10000, in milliseconds.
count count-value Specifies the single-ended frame loss measurement count. The value is an integer in the range from 1 to 60.

Views

MA view

Default Level

2: Configuration level

Usage Guidelines

When the packet loss rate is detected on a link to evaluate the link performance, you can run this command to enable the remote device to receive LMMs.

Single-ended frame loss measurement is implemented for the link between the local MEP and an RMEP identified by an ID or a MAC address.

  • If the local MEP has not learned the MAC address of the RMEP, the MAC address of the RMEP must be specified to implement single-ended frame loss measurement.

  • If the local MEP has learned the MAC address of the RMEP, the ID of the RMEP can be used to implement single-ended frame loss 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.

Example

# In the VLAN scenario, enable single-ended frame loss measurement and set the RMEP ID to 2, measurement interval to 10 seconds, and measurement count to 60 times.
<HUAWEI> system-view
[HUAWEI] cfm enable
[HUAWEI] cfm md md1
[HUAWEI-md-md1] ma ma1
[HUAWEI-md-md1-ma-ma1] map vlan 10
[HUAWEI-md-md1-ma-ma1] mep mep-id 1 interface GigabitEthernet1/0/1 outward
[HUAWEI-md-md1-ma-ma1] mep ccm-send mep-id 1 enable
[HUAWEI-md-md1-ma-ma1] remote-mep ccm-receive mep-id 2 enable
[HUAWEI-md-md1-ma-ma1] loss-measure single-ended send mep 1 remote-mep 2 interval 10000 count 60
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >