Transmit a copy of the current Config file with every commit
You can use ftp, http, scp or a copy to a local file
[edit system archival configuration]
transfer-on-commit;
archive-sites {
ftp://username@host:<port>url-path password password;
http://username@host:<port>url-path password password;
scp://username@host:<port>url-path password password;
file://<path>/<filename>;
}
The Target filename is built like this:
<router-name>_juniper.conf[.gz]_YYYYMMDD_HHMMSS
It is also possible to run periodic archival
set system archival configuration transfer-interval [interval]
------------------------------
Jimmy Walker
------------------------------
Original Message:
Sent: 07-13-2022 13:26
From: Unknown User
Subject: Junos Commit Script
Hey all,
I've never worked with commit scripts in Junos - but I was wondering if there was a way to configure a commit script (or some other way) to grab the output of show | compare
prior to any commit and save that file / send file to an FTP server or something of the like?
I am looking for a way to make our change management process a little bit simpler.
Thanks
Stev