loss-measure ratio-threshold

Function

The loss-measure ratio-threshold command configures the packet loss alarm threshold and its clear alarm threshold.

The undo loss-measure ratio-threshold command restores the default packet loss alarm threshold and its clear alarm threshold.

By default, the packet loss alarm threshold and its clear alarm threshold are not configured, meaning that the system does not generate a packet loss alarm or clear alarm.

Format

loss-measure ratio-threshold upper-limit upper-limit lower-limit lower-limit

undo loss-measure ratio-threshold

Parameters

Parameter Description Value
upper-limit upper-limit

Specifies the packet loss alarm threshold.

The value is a string of 1 to 10 characters ranging from 0.000001 to 100, accurate to 6 decimal places, in percentage.

lower-limit lower-limit

Specifies the packet loss clear alarm threshold.

The value is a string of 1 to 10 characters ranging from 0.000001 to 100, accurate to 6 decimal places, in percentage.

The lower-limit must be less than or equal to upper-limit.

Views

IPFPM-MCP instance view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ipfpm write

Usage Guidelines

Usage Scenario

An IP FPM statistical period is an interval between when a TLP counts the number of packets or bytes and when the TLP records the send and receive timestamps. The period can be set to 1s, 10s, 60s, or 600s. By default, the IP FPM statistical period is 10s.

To configure the packet loss alarm threshold and its clear alarm threshold, run the loss-measure ratio-threshold command. The conditions for alarm generation are as follows:

  • If the packet loss for five consecutive statistical periods exceeds the configured upper-limit, the hwIpfpmLossRatioExceed alarm is generated, and the link fault occurrence is notified in real time.
  • If the packet loss for five consecutive statistical periods falls below the configured lower-limit, the hwIpfpmLossRatioRecovery alarm is generated, and the link fault rectification is notified in real time.

    To help network operation and maintenance, run the loss-measure ratio-threshold command based on network performance requirements.

Precautions

If the loss-measure ratio-threshold command is run more than once, the latest configuration overrides the previous one.

The loss-measure ratio-threshold command only configures the thresholds. The system generates a packet loss alarm or its clear alarm only when the packet loss alarm or its clear alarm function is enabled and the packet loss for five consecutive statistical periods reaches the configured alarm threshold or falls below the configured clear alarm threshold.

This configuration cannot be deleted separately, if the device does not configure IPFPM license.

Example

# Configure the packet loss alarm threshold and its clear alarm threshold.
<HUAWEI> system-view
[~HUAWEI] nqa ipfpm mcp
[*HUAWEI-nqa-ipfpm-mcp] instance 1
[*HUAWEI-nqa-ipfpm-mcp-instance-1] loss-measure ratio-threshold upper-limit 10 lower-limit 5.5
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >