Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

file (JET)

 

Syntax

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 16.1 for MX80, MX104, MX240, MX480, MX960, MX2010, MX2020, vMX Series.

refresh, refresh-from, routing-instance, and source options added in Junos OS Release 18.1R1 for MX Series, PTX Series, and QFX Series.

Description

For files in the [edit system extensions extension-service application] hierarchy level, specify the configuration for each file in the extension-service application.

Options

arguments argumentsSpecify the command-line arguments called by a JET application. A program can take any number of command-line arguments. Enter the arguments in the way the application expects. Developer must supply this information.
daemonizeSpecify the file as daemonized.

An application runs as a daemonized process in the background. An application configured to run as a daemonized process is automatically triggered upon commit. A non-daemonized application must be triggered manually from the command-line client.

filenameLocal filename of the script file.
refreshRefresh all operation scripts from their source
refresh-fromRefresh all operation scripts from a given base URL
sourceURL source used for refresh for this script
username usernameSpecify the name of the user under whose privileges the extension service will execute. This username is configured at the [edit system login] hierarchy level. If you do not associate a username with an extension-service application, the application is executed as user nobody.

Default: nobody

The remaining statement is explained separately. See CLI Explorer.

Required Privilege Level

maintenance—To view this statement in the configuration.

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