All scripts
isp
Expert
3–8 min

T-ISP-013 · IGP Metric Optimizer

Audit and recommend IGP (IS-IS/OSPF) metrics against a reference-bandwidth policy, detect asymmetric metrics and accidental shortest-path shifts, and emit corrected interface metrics.

Cisco IOS-XR
Juniper Junos
Arista EOS
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

  • Reference-bandwidth metric calc
  • Asymmetric metric detection
  • Manual-override audit
  • Shortest-path shift hints
  • Config rendering
  • CSV diff report

Required inputs

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

ParameterTypeDefaultNotes
Reference BW (Mbps)
ref_bw_mbps
number100000
IGP (isis|ospf)
protocol
stringisis

Hint 1Name your vendors and OS versions

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

Hint 2State your real thresholds

Provide concrete values for Reference BW (Mbps), IGP (isis|ospf) instead of the defaults — they shape what counts as a fault.

Hint 3Prioritize the checks you need

This tool can reference-bandwidth metric calc and asymmetric metric 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 13:55:00 INFO  Reference BW 100000 Mbps → metric basis set
2026-06-15 13:55:01 WARN  P-rtr-01 Te0/0/1: metric 100 (expected 10)
2026-06-15 13:55:01 WARN  Asymmetric: P-rtr-01↔P-rtr-04 (10 vs 100)