Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

output-filename (Event Policy)

Syntax

Hierarchy Level

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:

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

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.