Automation · Cisco Automation
Configuration Collection
Cheat sheet · https://pcornel.dk/topic.php?topic=5645
Answer
Configuration collection backs up device configs automatically, such as show running-config via Netmiko, Oxidized or RANCID, storing them in Git so changes can be compared over time.
Remember
- Store configs in Git.
- Diffs show changes.
- Schedule regular collection.
First checks
ansible <dev> -m cisco.ios.ios_config -a 'backup=yes'— backup running configshow archive— archive config versions- Git-stored configs — history
Commands
show running-config- Display the running configuration.
show running-config all
Verify in this order
device → collect → git
Where it usually breaks
Commit/input → runner/job → build/test artifact → deployment request → target rollout/reconcile → effective version/config → health/readiness → workload.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5645