Junos OS

 View Only
last person joined: 3 days ago 

Ask questions and share experiences about Junos OS.
  • 1.  Junos Commit Script

    Posted 07-14-2022 06:19

    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.


  • 2.  RE: Junos Commit Script

    Posted 09-02-2022 19:51
    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]
    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;
    The Target filename is built like this:

    It is also possible to run periodic archival
    set system archival configuration transfer-interval [interval]

    Jimmy Walker