apply dampening

Function

The apply dampening command sets dampening parameters for EBGP routes.

The undo apply dampening command cancels the configuration.

By default, no dampening parameters are set for EBGP routes.

Format

apply dampening half-life-reach reuse suppress ceiling

undo apply dampening

Parameters

Parameter Description Value
half-life-reach

Specifies the half-life of a reachable route.

The value is an integer ranging from 1 to 45, in minutes.

reuse

Specifies the threshold for routes to be released from the dampening state. When the penalty value falls below the threshold, routes are reused.

The value is an integer ranging from 1 to 19998.

suppress

Specifies the threshold for routes to enter the dampening state. When the penalty value exceeds the threshold, routes are suppressed.

The value is an integer ranging from 2 to 19999. The configured value of suppress must be greater than the value of reuse.

ceiling

Specifies the upper limit of the penalty value of routes.

The value is an integer ranging from 1001 to 20000. The configured value of ceiling must be greater than the value of suppress.

Views

Route-policy view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
route-base write

Usage Guidelines

Usage Scenario

The apply dampening command, which is mostly used in BGP, is used to prevent frequent route dampening from affecting devices on the network.

You can configure different route dampening parameters for different nodes in the same route-policy. When route flapping occurs, BGP can use different route dampening parameters to suppress the routes that match the route-policy.

Implementation Procedure

If the apply dampening command is run more than once, the latest configuration overwrites the previous one.

Configuration Impact

If the apply dampening command is run, each time route flapping occurs, BGP adds a certain penalty value to this route.

Precautions

The parameters in this command must be set because they do not have default values. The values of reuse, suppress, and ceiling are listed in ascending order: reused < suppressed <ceiling. According to the formula, MaxSuppressTime = half-life-reach * 60 * (ln (ceiling/reused)/ln (2)), routes are released from the dampening state if the value of MaxSuppressTime is less than 1. Therefore, the value of the ceiling/reused must be great enough so that the value of MaxSuppressTime can be greater than or equal to 1.

Example

# Set dampening parameters for EBGP routes.
<HUAWEI> system-view
[~HUAWEI] route-policy aa permit node 10
[*HUAWEI-route-policy] apply dampening 20 2000 10000 16000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >