All scripts
isp
Advanced
3–7 min

T-ISP-025 · Multi-AS Route Table Diff

Compare BGP/RIB tables across multiple ASBRs or route-reflectors to detect inconsistent best-paths, missing prefixes, and next-hop divergence between vantage points.

Cisco IOS-XR
Cisco IOS/XE
Juniper Junos
Open in GeneratorOpen in Platform
You're viewing a preview

The full script, parameters, and execution console are available with a free account.

Already have access? Sign in →

Capabilities

  • Multi-router RIB collect
  • Missing-prefix detection
  • Next-hop divergence
  • Best-path inconsistency
  • Per-vantage rollup
  • JSON diff report

Required inputs

Parameters the script accepts. Defaults shown; some are vendor- or context-gated.

ParameterTypeDefaultNotes
Address family (ipv4|ipv6)
afi
stringipv4
Max diffs to report
max_diffs
number200

Hint 1Name your vendors and OS versions

Mention the exact platforms you run (Cisco IOS-XR, Cisco IOS/XE, Juniper Junos) so the generated isp & peering logic uses the right CLI/NETCONF syntax.

Hint 2State your real thresholds

Provide concrete values for Address family (ipv4|ipv6), Max diffs to report instead of the defaults — they shape what counts as a fault.

Hint 3Prioritize the checks you need

This tool can multi-router RIB collect and missing-prefix detection. Ask for the subset relevant to your incident to keep output focused.

Hint 4Describe your inventory format

Tell the assistant whether your device list is CSV, YAML, or JSON and which columns it has, so parsing matches your data.

Sample inventory schema

Authoritative shape of the device/policy data this script consumes.

No bundled inventory sample. The script accepts standard device lists (CSV/YAML) with hostname, mgmt IP, vendor, and credentials.

Expected output

Reference terminal output the script should produce — used as a stylistic and structural target.

terminal
2026-06-15 18:00:00 INFO  Collected RIB from 4 vantage points (ipv4)
2026-06-15 18:00:01 WARN  198.51.100.0/24: missing on asbr-03
2026-06-15 18:00:01 WARN  203.0.113.0/24: next-hop divergence (3 distinct)
2026-06-15 18:00:01 INFO  Report written to route-diff.json (2 diffs)