Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

source (Commit Scripts)

Syntax

source url;

Hierarchy Level

[edit system scripts commit file filename]

Release Information

Statement introduced in Junos OS Release 7.4.

Statement introduced in Junos OS Release 11.1 for the QFX Series.

Description

For Junos OS commit scripts, specify the location of the source file for an enabled script located in the /var/db/scripts/commit directory. When you include the refresh statement at the same hierarchy level and commit the configuration, the local copy is overwritten by the version stored at the specified URL.

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 HTTP URL, FTP URL, or scp-style remote file specification.

Required Privilege Level

maintenance—To view this statement in the configuration.
maintenance-control—To add this statement to the configuration.

Published: 2014-07-23

Published: 2014-07-23