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
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.
| Parameter | Type | Default | Notes |
|---|---|---|---|
Reference BW (Mbps) ref_bw_mbps | number | 100000 | — |
IGP (isis|ospf) protocol | string | isis | — |
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)