Route dampening
Route dampening is a BGP feature that
-
reduces the propagation of unstable, flapping routes across internetworks
-
assigns penalties to routes when instability is detected to temporarily suppress advertisements, and
-
decays penalties over time so stable routes are reintroduced based on reuse limits.
How route dampening works
Summary
Key components involved in the process are:
-
Autonomous systems: AS-1, AS-2, and AS-3.
-
eBGP neighbor relationships: Between AS-1 and AS-2, and between AS-2 and AS-3.
-
Route to network A: The prefix that flaps and triggers dampening.
-
Dampening parameters: Initial penalty (for example, 1,000), suppression limit, reuse limit, half-life, and the history state.
Route dampening limits excessive BGP message propagation caused by route flapping. In a network with three autonomous systems, AS-1, AS-2, and AS-3, dampening penalizes unstable routes and suppresses announcements until stability is restored.
Workflow
These stages describe how route dampening works.
- Route flap and message flow: The route to network A in AS-1 becomes unavailable. The eBGP neighbor in AS-2 sends a withdraw message, which is propagated to AS-3. When the route reappears, advertisement messages are sent again. Repeated unavailability followed by availability generates many withdraw and advertisement messages.
- Penalty assignment: When route dampening is enabled, the router assigns an initial penalty to the flapping route (for example, 1,000) and places the route in a history state.
- Penalty accumulation: Penalties are cumulative. If the cumulative penalty exceeds the suppression limit, the router stops advertising the route to prevent excessive churn.
- Penalty decay: The penalty value decays with a half-life. When the penalty falls to the reuse limit, the route is re-advertised.
- State cleanup: When the penalty decays to half of the reuse limit, the router clears the dampening information for that route.
Result
Dampening suppresses repeated announcements and withdrawals for unstable routes, reducing unnecessary BGP message propagation until the route stabilizes.
![]() Note |
No penalty is applied to a BGP peer reset when route dampening is enabled, even though the reset withdraws the route. |
Configure BGP route dampening
Enable and tune route dampening to minimize the impact of flapping routes.
Use address-family configuration to activate dampening with half-life, reuse, suppress, and maximum suppress time values, or attach a route policy.
Before you begin
-
Identify the autonomous system number.
-
Decide whether to use numeric parameters or a route policy.
Procedure
|
Step 1 |
Enter BGP configuration mode and specify the autonomous system number. Example:
|
|
Step 2 |
Configure the address family, IPv4 or IPv6, in unicast mode. Example:
|
|
Step 3 |
Configure dampening parameters or attach a route policy using the bgp dampening [half-life] [reuse suppress max-suppress-time ] | route-policy route-policy-name command. Example:
|
The router suppresses advertisements for unstable routes and reuses them after penalties decay to the reuse threshold.

Feedback