[an error occurred while processing this directive] [an error occurred while processing this directive]

then

Syntax

then {
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;
}
execute-commands {
commands {
"command";
}
destination destination-name {
retry-count count retry-interval seconds;
transfer-delay seconds;
}
output-filename filename;
output-format (text | xml);
user-name username;
}
ignore;
raise-trap;
upload filename (filename | committed) destination destination-name {
retry-count count retry-interval seconds;
transfer-delay seconds;
user-name username;
}
}

Hierarchy Level

[edit event-options policy policy-name]

Release Information

Statement introduced in JUNOS Release 7.5.

Description

Define actions to take if an event occurs. For each policy, you can configure multiple actions.

The statements are explained separately.

Required Privilege Level

maintenance—To view this statement in the configuration.
maintenance-control—To add this statement to the configuration.


Published: 2009-10-16

[an error occurred while processing this directive]