BGP: Difference between revisions

Content added Content deleted
Line 84: Line 84:
Mnemonics: [[Mnemonics|N-WLLA-OMNI]]
Mnemonics: [[Mnemonics|N-WLLA-OMNI]]


Full Internet BGP routing table is more than 300K routes and a BGP router can receive multiple copies of that routing table from multiple providers, router has to compare those multiple entries and select only the best route for the routing table.
*Full Internet BGP routing table is more than 300K routes and a BGP router can receive multiple copies of that routing table from multiple providers, router has to compare those multiple entries and select only the best route for the routing table.
It uses the BGP Best Path Selection Algorithm to do this.
*It uses the BGP Best Path Selection Algorithm to do this.
Routes installed by different BGP instances are compared by the general algorithm, i.e. route distances are compared and the route with lower distance is preferred.
*Routes installed by different BGP instances are compared by the general algorithm, i.e. route distances are compared and the route with lower distance is preferred.


<center>
<center>
Line 103: Line 103:
|AS Path Length || Smaller
|AS Path Length || Smaller
|-
|-
|Origin || Prefer Internal(advertised by network cmd) over External(advertised by redistribe cmd)<br /> External over Unknown('?')
|Origin || Prefer Internal(advertised by network cmd - 'i') over External(advertised by redistribe cmd -'?')
|-
|-
|MED || Smaller
|MED || Smaller