Configuring and Executing Op Scripts
Operation (op) scripts allow you to automate network troubleshooting and network management. This chapter discusses command-line interface (CLI) configuration statements and operational mode commands for enabling and executing op scripts.
To configure op scripts, include the following statements at the [edit] hierarchy level:
system {scripts {op {file filename {arguments {argument-name {description descriptive-text;}}checksum (md5 | sha-256 | sha1) hash;command filename-alias;description descriptive-text;refresh;refresh-from url;source url;}refresh;refresh-from url;traceoptions {file <filename> <files number> <size size> <world-readable |
no-world-readable>;flag flag;no-remote-trace;}}}}
This chapter discusses the following topics:
- Implementing Op Scripts
- Enabling an Op Script and Defining a Script Alias
- Configuring Checksum Hashes for an Op Script
- Executing an Op Script
- Executing an Op Script from a Remote Site
- Storing Op Scripts in Flash Memory
- Specifying a Master Source for an Op Script
- Updating an Op Script from the Master Source
- Updating an Op Script from an Alternate Location
- Tracing Op Script Processing
Hide Navigation Pane
Show Navigation Pane
Download
SHA1