op
Syntax
op filename <argument-name argument-value>
Release Information
Command introduced in JUNOS Release 7.6.
Command introduced in JUNOS Release 9.0 for EX Series switches.
Description
Execute an op script stored in the /var/db/scripts/op directory on the router or switch.
Options
- argument-name argument-value
(Optional) Specify one or more arguments to the script. For each argument you include on the command line, you must specify a corresponding value for the argument.
Additional Information
For more information about JUNOS op scripts, see the JUNOS Configuration and Diagnostic Automation Guide.
Required Privilege Level
maintenance
List of Sample Output
opOutput Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
op
user@host> op script1 interface ge-0/2/0.0 protocol
inet

