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.