[Contents] [Prev] [Next] [Index] [Report an Error]

then

Syntax

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;
}

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.

Usage Guidelines

See Configuring Event Policy.

Required Privilege Level

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


[Contents] [Prev] [Next] [Index] [Report an Error]