Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Mapping Operational Mode Commands and Output Fields to Junos XML Notation

 

In SLAX and XSLT op scripts, you use tag elements from the Junos XML API to represent operational mode commands and output fields in the scripts. For the Junos XML equivalent of commands and output fields, consult the Junos XML API Operational Developer Reference.

You can also display the Junos XML tag elements for operational mode command output by directing the output from the command to the | display xml command:

user@host> command-string | display xml

For example:

user@host> show interfaces terse | display xml