Requesting Information
This chapter explains how to use the NETCONF XML management protocol and Junos XML API to request information about the status and the current configuration of a routing, switching, or security platform.
The tag elements for operational requests are defined in the Junos XML API and correspond to Junos OS command-line interface (CLI) operational commands, which are described in the Junos OS 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 the client application’s requests and the NETCONF server’s responses correspond to CLI configuration statements, which are described in the Junos OS 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:
Hide Navigation Pane
Show Navigation Pane
Download
SHA1