BGP selection process


  1. Before anything -- if a route is not synchronized, it is thrown out!!
  2. The address/network given for the next hop is available in the IP routing table
  3. The route with the highest Weight attribute (the Weight attribute is Cisco proprietary)
  4. The route with the highest Local_Preference attribute
  5. Any routes that were learned Locally (next-hop = 0.0.0.0)
  6. The route with the shortest AS_Path attribute (confed learned paths are not included.)
  7. The route with the lowest Origin [internal (0), external (1), incomplete (2)]
  8. The route with the lowest Multi-Exit Discriminator (MED)
  9. The route learned via EBGP (iBGP routes are discarded at this point)
  10. The route with the nearest IGP neighbor
  11. The oldest learned route
  12. The route with the lowest BGP router-id