Best-path selection algorithm

The following algorithm is applied for the selection of the best path:
  1. The next hop in the BGP update message is available.
  2. The device's own AS is not in the AS-Path.
  3. The next hop is not the device's own address.
  4. Highest weight
  5. Highest local preference
  6. Shortest AS_PATH (AS_SET counts as length 1)
  7. Lowest origin (IGP < EGP < Incomplete)
  8. Lowest MED
    Note: This applies only if the compared routes are from the same neighbor AS.
  9. eBGP is preferred before iBGP.
  10. Lowest router ID
  11. Neighbor with lowest IP address
  12. Neighbor with lowest RTG tag
  13. The oldest path is preferred over a newly learned path.

www.lancom-systems.com

LANCOM Systems GmbH | A Rohde & Schwarz Company | Adenauerstr. 20/B2 | 52146 Wuerselen | Germany | E‑Mail info@lancom.de

LANCOM Logo