2 Outline Overview Receiving Routing Updates Building the BGP Table BGP Route Selection CriteriaBGP Route PropagationBuilding the IP Routing TableAdvertising Local NetworksAutomatic SummarizationSummary
4 Receiving Routing Updates (Cont.) Information from the BGP tables is exchanged after adjacency establishment.
5 Building the BGP TableAll inbound updates are placed into the BGP table.
6 BGP Route Selection Criteria Exclude routes with inaccessible next hopPrefer highest weight (local to router)Prefer highest local preference (global within AS)Prefer routes that the router originatedPrefer shortest AS path (only length is compared)Prefer lowest origin code (IGP < EGP < Incomplete)Prefer lowest MEDPrefer external (EBGP) paths over internal (IBGP)For IBGP paths, prefer path through closest IGP neighborFor EBGP paths, prefer oldest (most stable) pathPrefer paths from router with the lowest BGP router-IDLesson Aim<Enter lesson aim here.>
7 BGP Route Selection Criteria (Cont.) The best routes to the destination networks are selected from the BGP table.
8 BGP Route PropagationThe best BGP routes are propagated to BGP neighbors.
9 Building the IP Routing Table The best BGP routes are copied into the IP routing table based on administrative distance.
10 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.Lesson Aim<Enter lesson aim here.>
11 Advertising Local Networks (Cont.) The BGP route is revoked after the network is removed from the routing table.
12 Advertising Local Networks (Cont.) The BGP route is advertised after the network appears in the routing table.
13 Automatic Summarization Automatic summarization is enabled by default.Enable automatic summarization when:Summarization of IGP-to-BGP redistributed routes to major network boundary requiredUsing classful network command to summarize subnets to a major network boundaryDisable automatic summarization when:Summarization on IGP-to-BGP redistribution not desiredUsing classless variant of the network commandLesson Aim<Enter lesson aim here.>
14 Automatic Summarization (Cont.) One subnet and one host route for exist in the routing table.Automatic summarization is enabled for BGP.BGP has been configured to locally announceClassful network summary is inserted into BGP table.
15 Automatic Summarization (Cont.) 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.Classful network summary is inserted into BGP table.
16 SummaryAfter 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.
17 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.