Updating an Op Script from the Master Source
To update a single op script from its master source, issue the set refresh command at the [edit system scripts op file filename] hierarchy level. The master source must already be configured as described in Specifying a Master Source for an Op Script.
To update all enabled op scripts from their master sources, issue the set refresh command at the [edit system scripts op] 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 op scripts directory. If a master source is not defined for a script, that script is not updated and a warning is issued.
The update operation occurs as soon as you issue the set refresh command. The refresh statement is not added to the configuration. In other words, for this statement the set command behaves like an operational mode command, instead of adding a statement to the configuration.
If a device has dual Routing Engines and you want the script to be updated on both Routing Engines, you must include the refresh statement in the configuration of both Routing Engines. The commit synchronize command does not cause the refresh statement to take effect on scripts in both Routing Engine directories.
Hide Navigation Pane
Show Navigation Pane
Download
SHA1