Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

source (Op Scripts)

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
source url;

Hierarchy Level

content_copy zoom_out_map
[edit system scripts op file filename]

Description

Specify the location of the master source file for an op 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

Master source file for an op script 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.6.

footer-navigation