|
SSLHQ.com
Border Gateway Protocol Route Selection Process
-
iBGP routes must be known by an IGP. eBGP routes are all eligible to be isntalled in the routing table
-
iBGP routers must all be able to reach the next hop address of the route or the route will not be put in the routing table
-
Route with highest weight to the same destination is preferred (proprietary to cisco and locally significant)
-
Routes with HIGHEST local preferernce and same weight are preferred over routes with LOWER local preference. Local preference is only valid with an AS.
-
If Local Preference and weight are the same prefer route that originated locally.
-
Prefer route with shortest AS Path if route was not locally originated.
-
Lowest Origin Code (IGP (i), EGP (e), Incomplete (?)) is used if AS Path is the same length.
-
If Origin is equal prefer LOWEST MED, which is set foreign AS (not locally controlled)
-
Prefer eBGP routes learned over iBGP
-
Prefer path with lowest metric to BGP next hop
-
If all is the same so far, prefer lowest BGP rotuer ID
-
If router IDs are the same, use the lowest neigh IP address, I dont see the chances of using this comparison being too high.
BGP-route-selection-method |
|