PermitANY

Config Management · python · 25 copies

Running vs Startup Config Diff

Finds configuration that is running but was never saved — changes that silently disappear on the next reload. Also compares against the newest file from config-backup to detect drift since that backup. Strips timestamps and other volatile lines so the diff shows real change only. Correctly reports that IOS-XR, Junos and FortiOS have no unsaved state rather than producing a meaningless diff. Returns a non-zero exit code so it works as a cron or CI check.

  • Arista EOS
  • FortiOS
  • Cisco IOS
  • Cisco IOS-XE
  • Cisco IOS-XR
  • Junos
  • Cisco NX-OS
  • PAN-OS
$pip install "netmiko>=4.3" "PyYAML>=6.0"
terminal

Tags

configdiffdriftnetmikoauditchange-managementyamlinventory