In this recipe, we'll make use of a JUNOS event policy that fires whenever a configuration change is committed. It will respond by taking a snapshot of the configuration, and uploading it to a network management station for record-keeping.
Archiving configurations after a change
Getting ready
In order to complete this recipe, you need access to a JUNOS device and a UNIX-like network management station running an OpenSSH (or equivalent) server.
How to do it…
We're going to locate a directory on the UNIX host where configuration backups will be stored, then...