Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents

execute-commands (Event Policy)

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
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

content_copy zoom_out_map
[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.

footer-navigation