file (Commit Scripts)
Syntax
file filename { allow-transients; cert-file path; checksum hash-algorithm hash-value; optional; refresh; refresh-from url; routing-instance routing-instance-name; source url; }
Description
Enable a Junos OS commit script that is located in the /var/db/scripts/commit directory on the hard disk or the /config/scripts/commit directory on the flash drive. During a commit operation, enabled commit scripts are executed in the order specified in the configuration.
Options
filename | Name of a Python, Extensible Stylesheet Language Transformations (XSLT), or Stylesheet Language Alternative syntaX (SLAX) file containing a commit script. |
The remaining statements are explained separately. See CLI Explorer.
Required Privilege Level
maintenance—To view or add this statement in the configuration.
Release Information
Statement introduced in Junos OS Release 7.4.