Complete Software Guide for Junos
event-script
Syntax
Hierarchy Level
Release Information
Description
Required Privilege
Level
Related
Documentation
680
®
OS for EX Series Ethernet Switches, Release 10.3
event-script filename {
arguments {
argument-name argument-value;
}
destination destination-name {
retry-count count retry-interval seconds;
transfer-delay seconds;
}
output-filename filename;
output-format (text | xml);
user-name username;
}
[edit event-options policy policy-name then]
Statement introduced in Junos OS Release 7.6.
Statement introduced in Junos OS Release 9.0 for EX Series switches.
On receipt of an event, specify operational mode commands to be issued, the format of
the command output, and a name and destination for the output file.
The statements are explained separately.
maintenance—To view this statement in the configuration.
maintenance-control—To add this statement to the configuration.
Executing Event Scripts in an Event Policy
Copyright © 2010, Juniper Networks, Inc.