beautypg.com

Automating network operations and troubleshooting, Commit script overview, Chapter 6 – Juniper Networks J-Series User Manual

Page 111

background image

Chapter 6

Automating Network Operations and
Troubleshooting

J-series Services Routers support automation of network operations and
troubleshooting tasks using commit scripts, operation scripts, and event policies.
You can use commit scripts to enforce custom configuration rules. Operation scripts
allow you to automate network management and troubleshooting tasks. You can
configure event policies that initiate self-diagnostic actions on the occurrence of
specific events.

This chapter contains the following topics. For more information about using commit
scripts and operation scripts and configuring event policies, see the JUNOS
Configuration and Diagnostic Automation Guide
.

If the router is operating in a Common Criteria environment, see the Secure
Configuration Guide for Common Criteria and JUNOS-FIPS
.

Defining and Enforcing Configuration Rules with Commit Scripts on page 89

Automating Network Management and Troubleshooting with Operation
Scripts on page 92

Running Self-Diagnostics with Event Policies on page 94

Defining and Enforcing Configuration Rules with Commit Scripts

Being able to restrict network configurations in accordance with custom configuration
rules can reduce human error and improve network uptime and reliability. Commit
scripts allow you to enforce custom configuration rules.

This section contains the following topics:

Commit Script Overview on page 89

Enabling Commit Scripts on page 90

Disabling Commit Scripts on page 91

Commit Script Overview

Commit scripts run each time a new candidate configuration is committed and inspect
the configuration. If a candidate configuration does not adhere to your design rules,
a commit script can instruct the Services Router to perform various actions, including
the following:

Defining and Enforcing Configuration Rules with Commit Scripts

89