Understanding the Junos XML management protocol

The Junos XML management protocol is an Extensible Markup Language (XML) application that Juniper Networks routers use to exchange information with client applications. XML is a metalanguage for defining how to mark the organizational structures and individual items in a data set or document with tags that describe the function of the structures and items. The Junos XML management protocol defines tags for describing router components and configuration.

Client applications can configure or request information from a router by encoding the request with Junos XML protocol tags and sending it to the Junos XML protocol server on the router. (The Junos XML protocol server is a component of the management daemon [mgd process] running on the router and does not appear as a separate entry in process listings.) The Junos XML protocol server directs the request to the appropriate software modules within the router, encodes the response in Junos XML protocol tags or formatted ASCII as requested by the client application, and returns the result to the client application. For example, to request information about the status of a router’s interfaces, a client application can send the Junos XML protocol <get-interface-information> tag element. The Junos XML protocol server gathers the information and returns it in the <interface-information> tag element. For more information about the Junos XML protocol server, see the Junos XML Management Protocol Guide.