Technical Documentation

execute-commands

Syntax

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

Hierarchy Level

[edit event-options policy policy-name then]

Release Information

Statement introduced in JUNOS Release 7.5.

Description

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.

Required Privilege Level

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


Published: 2009-10-16