execute-commands (Event Policy)
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]
Description
Specify the operational mode commands to be issued when the corresponding event policy is triggered. You can also specify the format of the command output and the filename identifier and destination for the output file.
The remaining statements are explained separately. See CLI Explorer.
Required Privilege Level
maintenance—To view or add this statement in the configuration.
Release Information
Statement introduced in Junos OS Release 7.5.