loss-measure single-ended continual send

Function

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

The undo loss-measure single-ended continual send command cancels the configuration.

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

Format

loss-measure single-ended continual send test-id test-id-value interval { interval-value | interval-value | interval-value | interval-value } [ period period ]

undo loss-measure single-ended continual send [ test-id test-id-value ]

Parameters

Parameter Description Value
interval

Specifies the interval at which LMMs are sent.

The value is 60000, 30000, 10000, 1000 milliseconds.

period period

Specifies the interval at which statistics are collected.

The value is an integer ranging from 1 to 65535, in seconds. The default value is 900.

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 which are carried out continuously to permit proactive reporting of faults or performance results. Proactive OAM enables a device to keep periodically collecting packet loss statistics about a service flow on a link. To enable this function, run the loss-measure single-ended continual command. Configuring proactive single-ended frame loss measurement involves the setting of the remote MEP ID or destination MAC address, and interval at which LMMs are sent are specified. - 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.

Prerequisites

The loss-measure single-ended continual command takes effect only after the following configurations are complete:

  • Run the cfm version standard command in the system view to specify IEEE Standard 802.1ag-2007 for CFM.
  • The CFM function is enabled globally using the cfm enable (system view) command in the system view.
  • An MD is created using the cfm md command in the system view.
  • An MA is created using the ma command in the MD view.
  • An inward-facing MEP is created after the mep mep-id command is run in the MA view.
  • A test instance is created after the test-id command is run in the MA view.

Configuration Impact

After the configuration is complete, proactive single-ended frame loss measurement is implemented for links.

Example

# Enable single-ended frame loss measurement and set LMM sending interval to 30 seconds, and test instance ID to 1.
<HUAWEI> system-view
[~HUAWEI] mpls lsr-id 1.1.1.1
[*HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] mpls l2vc 2.2.2.2 100
[*HUAWEI-GigabitEthernet0/1/0] quit
[*HUAWEI] cfm enable
[*HUAWEI] commit
[~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 GigabitEthernet 0/1/0 inward
[*HUAWEI-md-md1-ma-ma1] remote-mep mep-id 2
[*HUAWEI-md-md1-ma-ma1] mep ccm-send enable
[*HUAWEI-md-md1-ma-ma1] remote-mep ccm-receive enable
[*HUAWEI-md-md1-ma-ma1] test-id 1 mep 1 remote-mep 2 8021p 4
[*HUAWEI-md-md1-ma-ma1] loss-measure single-ended continual send test-id 1 interval 30000 period 600
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >