The apply dampening command sets the action for changing the dampening parameters of EBGP routes in a routing policy.
The undo apply dampening command restores the default setting.
By default, the action for changing the dampening parameters of EBGP routes is not set in a routing policy.
Product |
Support |
---|---|
S5720-EI, S5720-HI, S5720I-SI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730-HI, S5730S-EI, S5730-SI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6720S-SI, S6720-SI, S6730-H, S6730S-H, S6730-S, and S6730S-S |
Supported. |
S2720-EI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S6720-LI, and S6720S-LI |
Not supported. |
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 20000. |
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 1 to 20000. 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. |
Usage Scenario
The apply dampening command, which is mostly used in BGP, is used to prevent frequent route dampening from affecting routers on the network.
You can configure different route dampening parameters for different nodes in the same routing policy. When route flapping occurs, BGP can use different route dampening parameters to suppress the routes that match the routing policy.
Procedure
If the apply dampening command is run multiple times, 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 do not have default values and must be set. The values of reuse, suppress, and ceiling are listed in ascending order: reuse < suppress <ceiling. According to the formula, MaxSuppressTime = half-life-reach x 60 x (ln (ceiling/reuse)/ln (2)), routes are unsuppressed if the value of MaxSuppressTime is less than 1. Therefore, the value of the ceiling/reuse must be great enough so that the value of MaxSuppressTime can be equal to or greater than 1.