BGP Route Analyzer
Compare candidate BGP paths and step through common best-path selection using attributes such as LOCAL_PREF, AS_PATH, origin, MED, eBGP/iBGP and IGP cost.
Candidate routes
Enter competing paths for the same prefix. The analyzer uses a common vendor-style decision order and shows the first decisive attribute. Actual selection can vary by vendor, configuration and address family.
| Path | Local Pref | AS Path | Origin | MED | Peer Type | IGP Cost | Router ID |
|---|
Decision
Selection notes
Higher is preferred within the AS.
Shorter path length is preferred.
IGP is preferred over EGP, then incomplete.
Lower is preferred where the implementation compares it.
Common implementations prefer an external path before an internal path.
Lower is preferred in the common sequence.
Engineering notes
BGP is policy-driven rather than a simple shortest-path protocol. This tool is an educational and troubleshooting aid, not a replacement for vendor-specific route-selection documentation. Router-ID and later tie-breakers are shown only after the earlier attributes are equal.
For production troubleshooting, also check route policy, communities, next-hop reachability, prefix filtering, RPKI/ROV policy and whether the route is actually installed in the forwarding table.