-
then {
-
-
event-script filename {
-
-
arguments {
-
name;
- }
-
output-filename filename;
-
destination destination-name;
- }
-
-
execute-commands {
-
-
commands {
- "command";
- }
-
output-filename filename;
-
output-format (text | xml);
-
destination destination-name;
- }
-
ignore;
-
raise-trap;
-
upload filename committed destination destination-name;
-
upload filename filename destination destination-name;
- }
- [edit event-options policy policy-name]
Statement introduced in JUNOS Release 7.5.
Define actions to take if an event occurs. For each policy, you can configure multiple actions.
The statements are explained separately.
maintenance—To view this
statement in the configuration.
maintenance-control—To
add this statement to the configuration.