Configuring the Master Source for a Commit Script

You can store a master copy of each commit script in a central repository. This eases file management because you can make changes to the master commit script in one place and then update the copy on each device where the commit script is currently enabled.

To specify the location of the master source for a commit script, include the source statement at the [edit system scripts commit file filename] hierarchy level:

[edit system scripts commit file filename]source url;

Including the source statement in the configuration does not affect the local copy of the commit script until you issue the set refresh command as described in Updating a Commit Script from the Master Source. At that point, the master copy is retrieved from the specified URL and overwrites the local copy.