© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.21-1 BGP Overview Processing BGP Routes.

Презентация:



Advertisements
Похожие презентации
© 2006 Cisco Systems, Inc. All rights reserved. BSCI v Implementing BGP Selecting a BGP Path.
Advertisements

© 2005 Cisco Systems, Inc. All rights reserved. BGP v BGP Overview Understanding BGP Path Attributes.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v BGP Transit Autonomous Systems Working with a Transit AS.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Scaling Service Provider Networks Introducing Confederations.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v BGP Transit Autonomous Systems Configuring a Transit AS.
© 2006 Cisco Systems, Inc. All rights reserved. BSCI v Implementing BGP Using Route Maps to Manipulate Basic BGP Paths.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Module Summary BGP has reliable transport provided by TCP, a rich set of metrics called BGP.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v BGP Transit Autonomous Systems Monitoring and Troubleshooting IBGP in a Transit AS.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Route Selection Using Attributes Setting BGP Local Preferences.
© 2006 Cisco Systems, Inc. All rights reserved. BSCI v Module Summary BGP is a path-vector routing protocol that allows routing policy decisions.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Scaling Service Provider Networks Scaling IGP and BGP in Service Provider Networks.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v BGP Transit Autonomous Systems Forwarding Packets in a Transit AS.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v MPLS VPN Implementation Configuring an MP-BGP Session Between PE Routers.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v MPLS VPN Implementation Configuring Small-Scale Routing Protocols Between PE and CE Routers.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Route Selection Using Policy Controls Using Multihomed BGP Networks.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Route Selection Using Policy Controls Applying Route-Maps as BGP Filters.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Module Summary Service providers use an IGP to carry internal routes and to provide optimal.
© 2006 Cisco Systems, Inc. All rights reserved. BSCI v Implementing BGP Explaining EBGP and IBGP.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Customer-to-Provider Connectivity with BGP Connecting a Multihomed Customer to Multiple Service.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v Determining IP Routes Enabling RIP.
Транксрипт:

© 2005 Cisco Systems, Inc. All rights reserved. BGP v BGP Overview Processing BGP Routes

© 2005 Cisco Systems, Inc. All rights reserved. BGP v Outline Overview Receiving Routing Updates Building the BGP Table BGP Route Selection Criteria BGP Route Propagation Building the IP Routing Table Advertising Local Networks Automatic Summarization Summary

© 2005 Cisco Systems, Inc. All rights reserved. BGP v Receiving Routing Updates Small BGP Network

© 2005 Cisco Systems, Inc. All rights reserved. BGP v Receiving Routing Updates (Cont.) Information from the BGP tables is exchanged after adjacency establishment.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v Building the BGP Table All inbound updates are placed into the BGP table.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v BGP Route Selection Criteria Exclude routes with inaccessible next hop Prefer highest weight (local to router) Prefer highest local preference (global within AS) Prefer routes that the router originated Prefer shortest AS path (only length is compared) Prefer lowest origin code (IGP < EGP < Incomplete) Prefer lowest MED Prefer external (EBGP) paths over internal (IBGP) For IBGP paths, prefer path through closest IGP neighbor For EBGP paths, prefer oldest (most stable) path Prefer paths from router with the lowest BGP router-ID

© 2005 Cisco Systems, Inc. All rights reserved. BGP v BGP Route Selection Criteria (Cont.) The best routes to the destination networks are selected from the BGP table.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v BGP Route Propagation The best BGP routes are propagated to BGP neighbors.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v The best BGP routes are copied into the IP routing table based on administrative distance. Building the IP Routing Table

© 2005 Cisco Systems, Inc. All rights reserved. BGP v Advertising Local Networks The BGP router process keeps a list of local networks (defined with the network command or through redistribution). The BGP process periodically scans the IP routing table and inserts or revokes routes from the BGP routing table based on their presence in the IP routing table.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v Advertising Local Networks (Cont.) The BGP route is revoked after the network is removed from the routing table.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v Advertising Local Networks (Cont.) The BGP route is advertised after the network appears in the routing table.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v Automatic Summarization Automatic summarization is enabled by default. Enable automatic summarization when: –Summarization of IGP-to-BGP redistributed routes to major network boundary required –Using classful network command to summarize subnets to a major network boundary Disable automatic summarization when: –Summarization on IGP-to-BGP redistribution not desired –Using classless variant of the network command

© 2005 Cisco Systems, Inc. All rights reserved. BGP v Automatic Summarization (Cont.) Classful network summary is inserted into BGP table. One subnet and one host route for exist in the routing table. Automatic summarization is enabled for BGP. BGP has been configured to locally announce

© 2005 Cisco Systems, Inc. All rights reserved. BGP v Automatic Summarization (Cont.) Classful network summary is inserted into BGP table. One subnet and two host routes for exist in the routing table. Automatic summarization is enabled for BGP. BGP has been configured to redistribute Open Shortest Path First (OSPF) into BGP.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v Summary After BGP sessions are established between BGP routers, they can start exchanging routing updates. All updates that are received from BGP neighbors are stored in the BGP table, regardless of whether they are used. The route selection process takes into account various BGP attributes that are attached to the route, as well as local decisions (indicated with weights). Only the best BGP routes are propagated to other BGP routers.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v Summary (Cont.) Only the best BGP routes are installed in the local IP routing table. Every BGP router can also originate the routes in BGP. The routes to be originated are entered manually in the BGP routing process or redistributed into BGP from an IGP. Automatic summarization is enabled by default in BGP.

© 2005 Cisco Systems, Inc. All rights reserved. BGP v