This chapter describes how JUNOS-based scripts such as commit scripts, operation (op) scripts, and event scripts can be imported into the JUNOScope CVS repository from the local file system and deployed to a group of routers. Commit scripts are used to enforce custom configuration rules, while op scripts are used to automate network troubleshooting and network management. Event scripts are op scripts invoked in response to event notifications such as system log messages and Simple Network Management Protocol (SNMP) traps received by the event process. For more information see the JUNOS Configuration and Diagnostic Automation Guide. This chapter also describes how users can view, edit, compare, and disable these scripts.
This chapter includes the following topics:
You must have superuser permission to manage JUNOS scripts.