Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

output-filename

Syntax

output-filename filename;

Hierarchy Level

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

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.

Description

Assign a filename to which to write command or script output for the specified commands or script. For op scripts, this statement is optional.

Options

filename

Name of a file in which to write command or script output.

Required Privilege Level

maintenance—To view this statement in the configuration.
maintenance-control—To add this statement to the configuration.

Published: 2012-11-05