Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

source (Commit Scripts)

Syntax

Hierarchy Level

Description

Specify the location of the master source file for a commit script. When you issue the set refresh configuration mode command at the same hierarchy level, the local copy of the script is overwritten by the version stored at the specified URL. If the load-scripts-from-flash statement is configured, the device refreshes the scripts on the flash drive instead of the hard disk.

Note:

On the QFabric system, commit scripts are stored in the /pbdata/mgd_shared/partition-ip/var/db/scripts/op/ directory on the Director device.

Options

url

The source specified as an HTTPS URL, HTTP URL, FTP URL, or scp-style remote file specification.

If you specify an HTTPS URL, you must also configure the cert-file statement at the same hierarchy level. Specify the path to the certificate (Root CA or self-signed) that the device will use to validate the server's certificate when you refresh the script.

Required Privilege Level

maintenance—To view or add this statement in the configuration.

Release Information

Statement introduced in Junos OS Release 7.4.