Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
keyboard_arrow_right

output-filename (Event Policy)

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
output-filename filename;

Hierarchy Level

content_copy zoom_out_map
[edit event-options policy policy-name then event-script filename],
[edit event-options policy policy-name then execute-commands]

Description

Define a descriptive string that will be included in the filename of the output file in which to write command or script output. For op scripts, this statement is optional.

The name of the output file also includes the hostname and timestamp to ensure that the each filename is unique. If an event policy is triggered multiple times in a 1-second period, an index number is appended to the filename. The index number range is 001 through 999.

Prior to Junos OS Release 14.1R3, the filename has the following naming convention:

content_copy zoom_out_map
hostname_filename_YYYYMMDD_HHMMSS_index-number

Starting in Junos OS Release 14.1R3, the filename string is placed after the timestamp.

content_copy zoom_out_map
hostname_YYYYMMDD_HHMMSS_filename_index-number

Options

filename

String included in the filename of the output file.

Required Privilege Level

maintenance—To view or add this statement in the configuration.

Release Information

Statement introduced in Junos OS Release 7.5.

Support at the [edit event-options policy policy-name then event-script filename] hierarchy level introduced in Junos OS Release 7.6.

external-footer-nav
Ask AI
close

How can I help you today?

LLMs can make mistakes. Verify important information.
chat_add_on New topic
send progress_activity
This conversation will be monitored and recorded. Any information you provide will be subject to our Privacy Notice and may be used for quality assurance purposes. Do not include any personal or sensitive information. Ask AI can make mistakes. Verify generated output for accuracy.
Protected by hCaptcha arrow_drop_down arrow_drop_up
Juniper Networks, Inc. | Privacy Notice | Terms of Use