Skip to content

HOWTO: Use Nornir + NETCONF to Collect Structured State from CSR1000v

Moves from CLI scraping to NETCONF-driven structured state collection on Cisco CSR1000v through a Nornir inventory. Covers NETCONF over SSH with a restricted ACL, a minimal Nornir host inventory, and a collector that writes timestamped XML run records — capabilities and running config — to logs/networking/netconf-csr1000v/. The same pattern underpins pre/post change validation in CI/CD pipelines.

What this covers:

  • NETCONF over SSH configuration on CSR1000v with management ACL restriction
  • Nornir inventory layout for multi-host CSR environments
  • Structured XML run records collection with CI/CD integration pattern

Learn this in Academy: Networking Foundations track