© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-1 Optimizing BGP Scalability Using BGP Route Dampening.

Slides:



Advertisements
Similar presentations
BGP Overview Processing BGP Routes.
Advertisements

© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—5-1 MPLS VPN Implementation Configuring BGP as the Routing Protocol Between PE and CE Routers.
RIP V2 CCNP S1(5), Chapter 4.
Border Gateway Protocol Ankit Agarwal Dashang Trivedi Kirti Tiwari.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—2-1 BGP Transit Autonomous Systems Monitoring and Troubleshooting IBGP in a Transit AS.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialBSCI Configuring EIGRP BSCI Module 2-5 – Configuring EIGRP in an Enterprise Network.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-1 Module Summary BGP has reliable transport provided by TCP, a rich set of metrics called BGP.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-1 Optimizing BGP Scalability Limiting the Number of Prefixes Received from a BGP Neighbor.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—6-1 Scaling Service Provider Networks Configuring and Monitoring Route Reflectors.
Presented By: Hanping Feng Configuring BGP With Cisco IOS Software (Part 1)
RD-CSY /09 Distance Vector Routing Protocols.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—5-1 Implementing Path Control Assessing Path Control Network Performance Issues.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—4-1 Implement an IPv4-Based Redistribution Solution Assessing Network Routing Performance and.
© 2009 Cisco Systems, Inc. All rights reserved.ROUTE v1.0—6-1 Connecting an Enterprise Network to an ISP Network Configuring and Verifying Basic BGP Operations.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Enabling RIP.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—5#-1 MPLS VPN Implementation Configuring OSPF as the Routing Protocol Between PE and CE Routers.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—5-1 MPLS VPN Implementation Configuring Small-Scale Routing Protocols Between PE and CE Routers.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Introducing Distance Vector Routing.
BGP Policy Control.
© 2007 Cisco Systems, Inc. All rights reserved.ICND2 v1.0—7-1 Address Space Management Scaling the Network with NAT and PAT.
--- CCIE R&S Advanced Lab Session 5 BGP, Multicast ---
BGP Overview Sumanta Das Gajendra Mahapatra. Content 1.Introduction 2.Session Establishment 3.Route processing 4.Basic Configuration 5.BGP Police.
Connecting Networks © 2004 Cisco Systems, Inc. All rights reserved. Exploring How IP Address Protocols Work INTRO v2.0—4-1.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—6-1 Connecting an Enterprise Network to an ISP Network BGP Attributes and Path Selection Process.
Routing and Routing Protocols Routing Protocols Overview.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Enabling OSPF.
Chapter 9. Implementing Scalability Features in Your Internetwork.
© 2002, Cisco Systems, Inc. All rights reserved. 1 Determining IP Routes.
© Synergon Informatika Rt., 1999 Chapter 12 Connecting Enterprises to an Internet Service Provider.
© 2001, Cisco Systems, Inc. A_BGP_Confed BGP Confederations.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 2 Single-Area OSPF.
BGP4 - Border Gateway Protocol. Autonomous Systems Routers under a single administrative control are grouped into autonomous systems Identified by a 16.
CCNA 2 Week 7 Distance Vector Routing. Copyright © 2005 University of Bolton Topics Distance Vector Protocol Issues RIP IGRP.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 7 Distance Vector Routing Protocols.
© 2002, Cisco Systems, Inc. All rights reserved. 1 Routing Overview.
Distance Vector Routing Protocols Dynamic Routing.
BGP Filtering (Policy Routing). BGP Filtering Can Apply our Routing Policy Controlling the sending and receiving updates Prefix Filtering AS_Path Filtering.
111 © 2003, Cisco Systems, Inc. All rights reserved. RECAP VLSM and CIDR.
Cisco Systems Networking Academy S2 C 12 Routing Protocols.
Route Filtering and Route Selection in BGP
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—3-1 Route Selection Using Policy Controls Employing AS-Path Filters.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—6-1 Scaling Service Provider Networks Scaling IGP and BGP in Service Provider Networks.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—3-1 Route Selection Using Policy Controls Filtering with Prefix-Lists.
 RIP — A distance vector interior routing protocol  IGRP — The Cisco distance vector interior routing protocol (not used nowadays)  OSPF — A link-state.
Route Selection Using Policy Controls
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-1 Customer-to-Provider Connectivity with BGP Connecting a Multihomed Customer to a Single Service.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—3-1 Route Selection Using Policy Controls Using Outbound Route Filtering.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—3-1 Route Selection Using Policy Controls Applying Route-Maps as BGP Filters.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-1 Optimizing BGP Scalability Implementing BGP Peer Groups.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—2-1 BGP Transit Autonomous Systems Forwarding Packets in a Transit AS.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-1 BGP Overview Understanding BGP Path Attributes.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-1 Optimizing BGP Scalability Improving BGP Convergence.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—3-1 Route Selection Using Policy Controls Using Multihomed BGP Networks.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—3-1 Module Summary The multihomed customer network must exchange BGP information with both ISP.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-1 BGP Overview Monitoring and Troubleshooting BGP.
Route Selection Using Attributes
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 2 Single-Area OSPF.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-1 Customer-to-Provider Connectivity with BGP Connecting a Multihomed Customer to Multiple Service.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—6-1 Scaling Service Provider Networks Introducing Confederations.
© 2003, Cisco Systems, Inc. All rights reserved..
Scaling Service Provider Networks
Routing and Routing Protocols: Routing Static
© 2002, Cisco Systems, Inc. All rights reserved.
CCNA 2 v3.1 Module 6 Routing and Routing Protocols
Routing and Routing Protocols: Routing Static
© 2002, Cisco Systems, Inc. All rights reserved.
© 2002, Cisco Systems, Inc. All rights reserved.
Distance Vector Routing Protocols
Computer Networks Protocols
© 2002, Cisco Systems, Inc. All rights reserved.
Presentation transcript:

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-1 Optimizing BGP Scalability Using BGP Route Dampening

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-2 Outline Overview BGP Route Dampening Route-Dampening Operation Configuring BGP Route Dampening Releasing Dampened Routes Monitoring Route Dampening Summary

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-3 BGP Route Dampening Designed to reduce router processing load caused by unstable routes Prevents sustained routing oscillations without affecting other well-behaved routes Defined in RFC 2439: BGP Route Flap Dampening A tool designed to help minimize the number of BGP updates Other update reduction tools: –Batching of BGP updates –Per-neighbor update timers

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-4 BGP Route Dampening (Cont.) Minimizes the amount of BGP update processing in the Internet by suppressing unstable (flapping) routes Does not suppress routes that occasionally flap Suppresses routes that are likely to flap in the future based on the history of their behavior –Flap = Remove route –Suppress = Do not use a route after it reappears

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-5 Route-Dampening Operation Each time an EBGP route flaps, it gets 1000 penalty points (IGBP routes are not dampened). The penalty placed on a route decays according to the exponential decay algorithm. When the penalty exceeds the suppress limit, the route is dampened (no longer used or propagated to other neighbors). A dampened route is propagated when the penalty drops below the reuse limit.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-6 Route-Dampening Operation (Cont.) The flap history is forgotten when the penalty drops below half of the reuse limit. A route is never dampened for more time than the maximum suppress limit. An unreachable route with a flap history is put in the history state—it stays in the BGP table but only to maintain the flap history. A penalty is applied on the individual path in the BGP table, not on the IP prefix.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-7 Configuring BGP Route Dampening bgp dampening [half-life reuse suppress max- suppress-time] [route-map map-name] router(config-router)# Configures BGP route dampening BGP dampening parameters: –half-life Decay time in which the penalty is halved –suppress Value when the route starts dampening –reuse Value when the dampened route is reused –max-suppress-time Maximum time to suppress the route –route-map Name of route-map controlling dampening

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-8 Configuring BGP Route Dampening (Cont.) Most Internet service providers use default values: A flapping route is dampened after three successive flaps. A route stays suppressed for approximately 30 minutes. Net result: The route is lost for 30 minutes if a BGP session with a neighbor is cleared three times in succession. Default dampening parameter values are: –half-life15 minutes –suppress2000 –reuse750 –max-suppress-time60 minutes (4x half-life) –per-flap penalty1000 (nonconfigurable)

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-9 Configuring BGP Route Dampening (Cont.) set dampening half-life reuse suppress max-suppress- time router(config-route-map)# This command sets the BGP dampening parameters for individual routes matched by a route-map entry. Apply this route-map to the bgp dampening command instead of specifying individual parameters. Applications: –Less aggressive dampening of routes toward root DNS servers (or other servers) –Dampening of smaller prefixes more aggressively –Selective dampening based on BGP neighbor and route-map match criteria

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-10 Releasing Dampened Routes clear ip bgp ip-address flap-statistics [{regexp regexp} | {filter-list list-name} | {ip-address network-mask}] router# Clears the flap statistics but does not release dampened routes clear ip bgp dampening [ip-address network-mask] router# Releases all the dampened routes or just the specified network Flap statistics or dampened routes also cleared when the BGP session with the neighbor is lost

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-11 Monitoring Route Dampening show ip bgp dampened-paths router> Displays the dampened routes show ip bgp flap-statistics [{regexp regexp} | {filter- list access-list} | {ip-address mask [longer-prefix]}] router> Displays flap statistics for all routes with dampening history Can match routes against regular expressions, AS-path access- lists, a specific route, or more specific routes debug ip bgp dampening router# Displays the BGP dampening events

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-12 Monitoring Route Dampening— Example

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-13 Monitoring Route Dampening— Example (Cont.)

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-14 Monitoring Route Dampening— Example (Cont.)

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-15 Monitoring Route Dampening— Example (Cont.)

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-16 Monitoring Route Dampening— Example (Cont.)

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-17 Monitoring Route Dampening— Example (Cont.)

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-18 Monitoring Route Dampening— Example (Cont.)

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-19 Monitoring Route Dampening— Example (Cont.)

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-20 Summary Route dampening is a BGP feature that is designed to reduce BGP processing requirements by minimizing the propagation of unstable routes to BGP peers. A router with route dampening enabled keeps track of all routes and the penalties that are assigned to them. Each time a flap occurs, the flapping route receives 1000 penalty points; if the route penalties reach the suppress limit, the route is no longer forwarded to other neighbors until the assigned penalty has decayed below the reuse limit. You can implement route dampening with the bgp dampening command either globally in the BGP process or selectively using a route-map.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-21 Summary (Cont.) Use the clear ip bgp flap-statistics command to delete all penalty information without releasing the dampened paths. The clear ip bgp dampening command clears dampening information and releases suppressed routes. The show ip bgp dampened-paths command lists all routes that are currently suppressed because of dampening, the show ip bgp flap-statistics command lists all routes that have a penalty that is still above the time-to-forget limit, the show ip bgp flap- statistics prefix command displays detailed dampening information about a specific network, the show ip bgp flap- statistics prefix mask longer-prefix command displays dampening information about a specific network and its subnets, and the debug ip bgp dampening command displays BGP dampening events as they occur in real time.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-22