Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

file (Commit Scripts)

 

Syntax

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 7.4.

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

Statement introduced in Junos OS Release 14.1X53-D20 for the OCX Series.

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

filenameName 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 this statement in the configuration.

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