Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Replacing an Event Script

You can update or replace an existing event script without changing the device’s configuration or disrupting operations. Follow these steps:

  1. Edit or write the new event script.
  2. Copy the script to the /var/db/scripts/event directory on the hard drive or the /config/scripts/event directory on the flash drive; for information about setting the storage location for scripts, see Storing Scripts in Flash Memory. Only users who belong to the Junos super-user login class can alter files in these directories.

    Note: If the device has dual Routing Engines, remember to copy the script to the /var/db/scripts/event or /config/scripts/event directory on both Routing Engines. The commit synchronize command does not automatically copy scripts between Routing Engines.

  3. Issue the request system scripts event-scripts reload operational mode command.
    user@host> request system scripts event-scripts reload

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

Published: 2013-03-05

Published: 2013-03-05