output-filename (Event Policy)
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.
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
Required Privilege Level
maintenance—To view this statement in the configuration.
maintenance-control—To add this statement to the configuration.