metric-link-loss suppress

Function

The metric-link-loss suppress command configures suppression parameters for IPv4 link loss information advertisement.

The undo metric-link-loss suppress command restores the default configuration.

By default, the suppression of IPv4 link loss information advertisement is enabled.

Format

metric-link-loss suppress timer timer-value percent-threshold percent-value absolute-threshold absolute-value

undo metric-link-loss suppress timer timer-value percent-threshold percent-value absolute-threshold absolute-value

Parameters

Parameter Description Value
percent-threshold percent-value

Specifies a threshold over which link loss information advertisement is suppressed.

The value is an integer ranging from 0 to 100, in percentage. The default value is 10. The value 0 indicates that link loss information advertisement is not suppressed based on this parameter.

absolute-threshold absolute-value

Specifies an absolute value threshold over which link loss information advertisement is suppressed.

The value is an integer ranging from 0 to 10000. The default value is 1000.The value 0 indicates that link loss information advertisement is not suppressed based on this parameter.

timer timer-value

Specifies a timeout period for the link loss suppression timer.

The value is an integer ranging from 0 to 600. The default value is 120.

The value 0 indicates that the link loss suppression timer is not started.

Views

IS-IS view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
isis write

Usage Guidelines

Usage Scenario

If link loss variation occurs frequently, link loss information is flooded and reported repeatedly, causing the optimal path calculated by a controller based on link loss information to change frequently. To prevent this issue, run the metric-link-loss suppress command to suppress the advertisement of IPv4 link loss information. Suppression is performed in compliance with the following rules:

  • If a link loss change is detected, the link loss information is not immediately advertised or reported. Instead, the maximum link loss are recorded within the suppression timer specified using timer-value. When the timer expires, IS-IS starts to suppress the advertisement of link loss information.
  • If the calculated percentage threshold is greater than or equal to the percentage threshold specified using percent-value, or the calculated absolute threshold is greater than or equal to the absolute threshold specified using absolute-value, then IS-IS updates the link loss information accordingly and uses BGP-LS to report the new link loss information to the controller. Otherwise, IS-IS does not perform the update and suppresses the advertisement of the link loss information instead.

Precautions

If timer-value, percent-value, and absolute-value are all set to 0, packet loss ratio suppression is disabled.

If the IPv4 packet loss rate advertisement function configured using the metric-link-loss advertisement enable command does not take effect, the metric-link-loss suppress command cannot be run.

The value of the packet loss rate suppression timer must be greater than the interval for measuring the packet loss rate.

Example

# Enable suppression of IPv4 link loss information advertisement for IS-IS Level-2 routes.
<HUAWEI> system-view
[~HUAWEI] isis 1
[*HUAWEI-isis-1] cost-style wide
[*HUAWEI-isis-1] traffic-eng level-2
[*HUAWEI-isis-1] metric-link-loss advertisement enable level-2
[*HUAWEI-isis-1] metric-link-loss suppress timer 300 percent-threshold 20 absolute-threshold 2000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >