BGP Flap Dampening
BGP Flap Dampening
BGP Flap Dampening
ISP/IXP Workshops
www.cisco.com
Described in RFC2439
ISP/IXP Workshops
2000, Cisco Systems, Inc.
www.cisco.com
www.cisco.com
Penalty
2000 Reuse limit 1000
0
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
Time
Network Announced
ISP/IXP Workshops
2000, Cisco Systems, Inc.
Network Re-announced
5
www.cisco.com
ISP/IXP Workshops
If prefix carries on flapping after being suppressed, penalty is incremented and decayed as normal www.cisco.com
2000, Cisco Systems, Inc.
Once penalty reaches reuse-limit, prefix is reannounced Once penalty is less than half reuse-limit, penalty is reset to zero www.cisco.com
2000, Cisco Systems, Inc.
ISP/IXP Workshops
www.cisco.com
10
www.cisco.com
11
Always make sure that suppresslimit is LESS than max-penalty otherwise there will be no route dampening
ISP/IXP Workshops
2000, Cisco Systems, Inc.
www.cisco.com
12
Suppress limit
Reuse limit
www.cisco.com
13
Examples - 4
bgp dampening 30 2000 3000 60
reuse-limit of 2000 means maximum possible penalty is 8000 - suppress limit is easily reached
ISP/IXP Workshops
2000, Cisco Systems, Inc.
www.cisco.com
14
Examples - 4
bgp dampening 15 750 3000 45
reuse-limit of 750 means maximum possible penalty is 6000 - suppress limit is easily reached
ISP/IXP Workshops
2000, Cisco Systems, Inc.
www.cisco.com
15
Variable dampening
recommendations for ISPs http://www.ripe.net/docs/ripe-210.html
Flap statistics
show ip bgp neighbor <x.x.x.x> [dampened-routes | flap-statistics]
ISP/IXP Workshops
2000, Cisco Systems, Inc.
www.cisco.com
16