Updating a Commit Script from the Master Source
To update a single commit script from its master source, issue the set refresh command at the [edit system scripts commit file filename] hierarchy level. The master source must already be configured as described in Configuring the Master Source for a Commit Script.
To update all enabled commit scripts from their master sources, issue the set refresh command at the [edit system scripts commit] hierarchy level:
When you issue the set refresh command, the switch, router, or security device immediately attempts to connect to the machine that houses the master source for the script files and retrieve a copy of each file. The master copy overwrites the script stored in the local commit scripts directory. The updated commit script is executed when you next issue the commit command. If a master source is not defined for a script, that script is not updated and a warning is issued.
If the device has dual Routing Engines and you want to update a script on both Routing Engines, you must issue the set refresh command on each Routing Engine separately. The commit synchronize command does not cause the refresh statement to update scripts on both Routing Engines.
Hide Navigation Pane
Show Navigation Pane
Download
SHA1