You can access and update a router’s local commit scripts with a remote copy of these commit scripts. This eases file management in many ways. First, if a specific script is shared by many routers, you can edit and save the script on one router. Then you can access and refresh this updated script on the other routers. You can also create a master commit script location. All scripts can then be maintained at this location. Routers can update their local copies as appropriate by accessing this file location.
For each routing platform, the router continues to use the locally saved commit scripts during a commit operation. The refresh and refresh-from statements are used to update the local commit scripts with the remote commit scripts. The source statement allows you to specify a remote location where the commit scripts are stored.