All scripts
cloud
Advanced
2–8 min

Cloud-to-MPLS Handoff Verifier

Verify hybrid cloud connectivity: BGP session on the cloud router, prefix count in/out, route preference (Direct Connect vs VPN), failover simulation and RTT baseline.

AWS Direct Connect
Azure ExpressRoute
MPLS
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

  • Cloud BGP session state
  • Prefix count in/out
  • Route preference (DX vs VPN)
  • Failover simulation
  • RTT baseline
  • Asymmetry detection

Required inputs

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

ParameterTypeDefaultNotes
Min expected prefixes
min_prefixes
number10
Preferred path
prefer
stringdirectconnect
RTT alert (ms)
rtt_alert_ms
number40

Hint 1Name your vendors and OS versions

Mention the exact platforms you run (AWS Direct Connect, Azure ExpressRoute, MPLS) so the generated cloud logic uses the right CLI/NETCONF syntax.

Hint 2State your real thresholds

Provide concrete values for Min expected prefixes, Preferred path, RTT alert (ms) instead of the defaults — they shape what counts as a fault.

Hint 3Prioritize the checks you need

This tool can cloud BGP session state and prefix count in/out. 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-12] INFO  Verifying hybrid handoff (DX + backup VPN)...
PATH            BGP        PFX-IN  PFX-OUT  RTT   STATUS
DirectConnect   Established 142     38       6ms   OK
VPN-backup      Established 142     38       58ms  RTT-HIGH ←
Preference: DX active (LP 200 > VPN 100) ✓
Failover sim: withdraw DX → VPN takes over in 4s
Summary: handoff healthy · 1 warning