Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

file (Commit Scripts)

Syntax

file filename {checksum (md5 | sha-256 | sha1) hash;optional;refresh;refresh-from url;source url;}

Hierarchy Level

[edit system scripts commit]

Release Information

Statement introduced in Junos OS Release 7.4.

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

Description

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

Options

filename

Name of an Extensible Stylesheet Language Transformations (XSLT) or Stylesheet Language Alternative Syntax (SLAX) file containing a commit script.

The remaining 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