Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

refresh-from (Event Scripts)

 

Syntax

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 9.6.

Statement introduced in Junos OS Release 9.6 for EX Series switches.

Statement introduced in Junos OS Release 13.2X51-D10 for QFX Series switches.

Description

Overwrite the local copy of all enabled event scripts or a single enabled event script with the copy located 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.

The update operation occurs as soon as you issue the set refresh-from url configuration mode command. Issuing the set refresh-from command does not add the refresh-from statement to the configuration. Thus the command behaves like an operational mode command by executing an operation, instead of adding a statement to the configuration.

As of Junos OS Release 18.1R1, you can specify which routing instance the update is done through. To specify the routing instance to use for updating event scripts, configure the routing instance in two places in the CLI:

If you enable the non-default managment instance and use mgmt_junos for routing-instance-name, you can configure scripts to update using the dedicated management instance mgmt_junos.

Options

urlSource specified as a Hypertext Transfer Protocol (HTTP) URL, FTP URL, or secure copy (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.