[Contents] [Prev] [Next] [Index] [Report an Error]

Requesting Information

This chapter explains how to use the JUNOS Extensible Markup Language (XML) and NETCONF 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 NETCONF <get-config> 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 both requests and the NETCONF server’s responses 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:


[Contents] [Prev] [Next] [Index] [Report an Error]