BGP Path Analyzer

Analyze BGP path selection decisions and understand why specific routes are chosen as best paths.

Add BGP Route

Best Path Selection

Add routes to analyze path selection

BGP Route Table

Status Network Next Hop AS Path Local Pref MED Origin Weight Type Actions
No routes added yet

BGP Decision Process

BGP Best Path Selection Algorithm
  1. Weight: Prefer highest weight (Cisco-specific)
  2. Local Preference: Prefer highest local preference
  3. Local Origination: Prefer locally originated routes
  4. AS Path: Prefer shortest AS path
  5. Origin: Prefer IGP > EGP > INCOMPLETE
  6. MED: Prefer lowest MED (if comparing same neighboring AS)
  7. External vs Internal: Prefer eBGP over iBGP
  8. IGP Metric: Prefer lowest IGP metric to next-hop
  9. Multipath: If multipath enabled, install multiple paths
  10. Oldest Route: Prefer oldest external route
  11. Router ID: Prefer lowest BGP router ID
  12. Cluster Length: Prefer shortest cluster list
  13. Neighbor Address: Prefer lowest neighbor IP address