PermitANY

Troubleshooting · python · 39 copies

BGP Route & Path Selection Analyzer

Explains which BGP path wins for a prefix and exactly which step of the decision process chose it. Walks all ten steps in order — weight, local-pref, AS-path length, origin, MED, eBGP over iBGP, IGP metric, router-id, neighbor address — and names the step that actually narrowed the field to one, rather than the first attribute that happened to differ. Queries several routers at once and reports when they disagree on the best exit, which is the answer to why traffic from one site takes a different path than another.

  • Arista EOS
  • FortiOS
  • Cisco IOS
  • Cisco IOS-XE
  • Cisco IOS-XR
  • Junos
  • Cisco NX-OS
$pip install "netmiko>=4.3" "PyYAML>=6.0"
terminal

Tags

bgppath-selectiontroubleshootingroutingnetmikovrfccieyamlinventory