All scripts
isp
Expert
3–8 min

T-ISP-011 · LDP→SR-MPLS Migration Validator

Validate readiness and forwarding consistency during an LDP-to-Segment-Routing migration: SRGB consistency, prefix-SID uniqueness, LDP/SR ships-in-the-night parity, and label-imposition diff.

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

  • SRGB consistency check
  • Prefix-SID uniqueness audit
  • LDP/SR parity comparison
  • Mapping-server validation
  • Forwarding diff per prefix
  • Go/no-go summary

Required inputs

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

ParameterTypeDefaultNotes
Expected SRGB base
srgb_base
number16000
Expected SRGB size
srgb_size
number8000

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 Expected SRGB base, Expected SRGB size instead of the defaults — they shape what counts as a fault.

Hint 3Prioritize the checks you need

This tool can sRGB consistency check and prefix-SID uniqueness audit. 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 11:20:00 INFO  Validating SR migration across 14 nodes
2026-06-15 11:20:01 WARN  PE-rtr-07: SRGB base 16000 size 6000 (expected 8000)
2026-06-15 11:20:01 ERROR Prefix-SID 16012 duplicated on PE-rtr-03 and PE-rtr-09
2026-06-15 11:20:01 INFO  Go/no-go: NO-GO (1 error, 1 warning)