Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Replace an Event Script

You can update or replace an existing SLAX or XSLT event script without changing the device’s configuration or disrupting operations. This process is beneficial, for example, when you need to refresh event scripts that have an embedded event policy.

To update and then reload SLAX and XSLT event scripts:

  1. Edit the existing event script or write a new one.
  2. Copy the script to the /var/db/scripts/event directory on the hard disk or the /config/scripts/event directory on the flash drive as appropriate for your environment. Only users who belong to the super-user login class can alter files in these directories.
    Note:

    For information about setting the storage location for scripts, see Store Scripts in Flash Memory

    Note:

    If the device has dual Routing Engines, remember to copy or synchronize the script on both Routing Engines.

  3. Reload the scripts by issuing the following operational mode command:

All SLAX and XSLT event scripts are reloaded into the eventd process’ memory.