request system scripts refresh-from event
Syntax
request system scripts refresh-from event file file-name url url-path
Release Information
Command introduced in Junos OS Release 10.1 for EX Series switches.
Description
Automatically download the initial Junos OS configuration and a set of standard event scripts during a Junos XML management protocol/NETCONF session when a switch is brought up for the first time.
The Junos XML management protocol equivalent for this operational mode command is:
<request-script-refresh-from> <type>event</type> <file>file-name></file> <URL>URL</URL> </request-script-refresh-from>
Options
- file file-name
Name of the file to be downloaded.
- url url-path
URL of the file to be downloaded.
Required Privilege Level
maintenance
Related Topics
- Understanding Automatic Refreshing of Scripts on EX Series Switches
- Junos OS Junos XML Management Protocol Guide at http://www.juniper.net/techpubs/software/junos/index.html
- Junos OS NETCONF XML Management Protocol Guide at http://www.juniper.net/techpubs/software/junos/index.html
List of Sample Output
request system scripts refresh-from event file config.txt url http://host1.juniper.netSample Output
request system scripts refresh-from event file config.txt url http://host1.juniper.net
user@switch> request system scripts refresh-from
event file config.txt url http://host1.juniper.netuser@switch>
