Routing · 4 min read

BGP Route Flap Dampening: When Your Network Oscillates

BGP route flap dampening is a stability mechanism that penalizes routes exhibiting frequent state changes (flaps) and temporarily suppresses them from the routing table. When a BGP route alternates between available and unavailable states, it creates routing instability that can trigger unnecessary convergence events, consume CPU resources, and degrade network performance. Route flap dampening applies a penalty system to discourage the advertisement of unstable routes, allowing the network to stabilize before reintroducing them.

Understanding Route Flaps and Why They Matter

A route flap occurs when a BGP route transitions between the up and down states repeatedly. Common causes include unstable physical links, misconfigured timers, memory exhaustion on a neighbor router, or software bugs. Each flap triggers a BGP update, which propagates through the network. In large networks with thousands of routes, repeated flaps can overwhelm routers with unnecessary recalculation and update processing, leading to slow convergence and potential blackholes.

Route flap dampening mitigates this by assigning a penalty to each flap event. When the cumulative penalty exceeds a suppress threshold, the route is removed from the routing table and marked as suppressed. The penalty decays over time at a configurable rate. Once the penalty falls below a reuse threshold, the route becomes eligible for readmission to the routing table.

How Dampening Penalties and Thresholds Work

The dampening algorithm tracks four key parameters:

When a route flaps, it receives the penalty increment. If the total penalty exceeds the suppress threshold, the route is suppressed and not advertised. The penalty then decays exponentially based on the half-life. For example, with a 15-minute half-life, a penalty of 2000 becomes 1000 after 15 minutes, 500 after 30 minutes, and so on. Once the penalty drops below the reuse threshold (750), the route is unsuppressed and can be used again.

Configuring Route Flap Dampening

Most implementations allow dampening to be enabled globally or per address family. Here is a typical configuration example for Cisco IOS XE:

router bgp 65000
  address-family ipv4 unicast
    bgp dampening [penalty] [suppress-threshold] [reuse-threshold] [half-life]
    bgp dampening route-map DAMPENING_POLICY
  exit-address-family

A practical dampening policy might use: bgp dampening 1500 3000 1500 30. This applies a 1500-point penalty per flap, suppresses at 3000 points, reuses at 1500 points, and uses a 30-minute half-life. You can also apply dampening selectively using route maps to target specific prefixes or neighbors.

Monitoring and Troubleshooting Dampened Routes

Use show commands to inspect dampening state:

show bgp ipv4 unicast dampened-routes
show bgp ipv4 unicast flap-statistics
show bgp ipv4 unicast prefix 10.0.0.0/8 dampening

These commands reveal which routes are currently suppressed, how many flaps each route has experienced, and the current penalty value. If a critical route is being suppressed too aggressively, adjust the thresholds upward or increase the half-life to allow faster penalty decay. Conversely, if flapping routes are not being suppressed, lower the suppress threshold or reduce the half-life.

Route flap dampening is essential in large networks and carrier environments where route stability directly impacts service availability. Understanding the penalty system, thresholds, and decay mechanism allows you to tune dampening policies that balance stability with convergence speed.

Administrative Distance Reference
Free tool to explore route preference and BGP AD values across vendors
Open →
Practise this on today’s Daily Ops Drill — a free network task every day.
Open the app →
Free tools for this
More from the blog
CCNA Design Lab: EIGRP vs OSPF for Branch NetworksRead →FortiGate NSE4: Rotating Admin Credentials Without DowntimeRead →