This chapter explains how to use the JUNOS Extensible Markup Language (XML) and JUNOScript application programming interfaces (APIs) to request information about routing platform status and the current configuration.
The tag elements for operational requests are defined in the JUNOS XML API and correspond to command-line interface (CLI) operational commands, which are described in the JUNOS software command references. There is a request tag element for many commands in the CLI show family of commands.
The tag element for configuration requests is the JUNOScript <get-configuration> tag element. It corresponds to the CLI configuration mode show command, which is described in the JUNOS CLI User Guide. The JUNOS XML tag elements that make up the content of requests from a client application as well as responses from the JUNOScript server correspond to CLI configuration statements, which are described in the JUNOS software configuration guides.
In addition to information about the current configuration, client applications can request other configuration-related information, including an XML schema representation of the configuration hierarchy, information about previously committed (rollback) configurations, or information about the rescue configuration.
This chapter discusses the following topics: