output-format (Event Policy)
Syntax
output-format (text | xml);
Hierarchy Level
[edit event-options policy policy-name then event-script filename], [edit event-options policy policy-name then execute-commands]
Description
Specify the format (ASCII text or XML) for the output of event scripts or commands executed by an event policy.
Note:
Event script output is always emitted in XML format even if
you configure the output-format text statement under the [edit event-options policy policy-name then
event-script filename] hierarchy.
Default
If you do not include the output-format statement,
the output is emitted in XML format.
Options
| text | Formatted ASCII text. |
| xml | Junos Extensible Markup Language (XML) tags. |
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 8.3.