Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

file (Op Scripts)

 

Syntax

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 7.6.

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

Description

Enable a Junos OS op script that is located in the /var/db/scripts/op directory on the hard disk or the /config/scripts/op directory on the flash drive. After enabling an op script, you can execute the script from the CLI using the op command.

Options

filenameName of a Python, Extensible Stylesheet Language Transformations (XSLT), or Stylesheet Language Alternative syntaX (SLAX) file containing an op 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.