user@host# op filename.xsl
Disabling Operation Scripts
If you do not want an operation script to run, you can disable it by deleting or
deactivating it in the configuration. Deleting an operation script permanently removes
it from the configuration. To run the script later, you must reenable the script as
described in Enabling Operation Scripts on page 93. Deactivating an operation
script disables the script until you activate it later.
To delete an operation script, do the following:
1. From configuration mode in the CLI, enter the following command:
user@host# delete system scripts op filename.xsl
2. Commit the configuration:
user@host# commit
commit complete
To deactivate an operation script:
1. From configuration mode in the CLI, enter the following command:
user@host# deactivate system scripts op filename.xsl
2. Commit the configuration:
user@host# commit
commit complete
NOTE: You can later reactivate the operation script using the activate system scripts
op filename.xsl command.
Running Self-Diagnostics with Event Policies
To diagnose a fault or error condition on a routing platform, you need relevant
information about the state of the platform. You can derive state information from
event notifications. Event notifications are system log messages and Simple Network
Management Protocol (SNMP) traps.
Timely diagnosis and intervention can correct error conditions and keep the routing
platform in operation. Event policies allow you to automatically initiate self-diagnostic
94 Running Self-Diagnostics with Event Policies
J-series Services Router Administration Guide