Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

file (Op Scripts)

Syntax

file filename {arguments {argument-name {description descriptive-text;}}checksum (md5 | sha-256 | sha1) hash;command filename-alias;description descriptive-text;refresh;refresh-from url;source url;}

Hierarchy Level

[edit system scripts op]

Release Information

Statement introduced in Junos OS Release 7.6.

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

Description

For Junos OS op scripts, enable an op script that is located in the /var/db/scripts/op directory.

Options

filename

The name of an Extensible Stylesheet Language Transformations (XSLT) or Stylesheet Language Alternative Syntax (SLAX) file containing an op script.

The statements are explained separately.

Required Privilege Level

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

Published: 2013-08-09