Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

<junoscript>

Usage

Description

Enclose all tag elements in a Junos XML protocol session (act as the root tag element for the session). The client application and Junos XML protocol server each emit this tag element, enclosing all other tag elements that they emit during a session inside it.

Attributes

hostname

Name of the device on which the tag element’s originator is running.

junos:key

Request that the Junos XML protocol server include the junos:key="key" attribute in the opening tag of each tag element that serves as an identifier for a configuration object.

os

Operating system of the device named by the hostname attribute.

release

Identify the Junos OS release being run by the tag element’s originator. Software modules always set this attribute, but client applications are not required to set it.

schemaLocation

XML namespace for the XML Schema-language representation of the Junos OS configuration hierarchy.

version

(Required for a client application) Specify the version of the Junos XML management protocol used for the enclosed set of tag elements.

xmlns

XML namespace for the tag elements enclosed by the <junoscript> tag element that do not have a prefix on their names (that is, the default namespace for Junos XML tag elements). The value is a URL of the form http://xml.juniper.net/xnm/version-code/xnm, where version-code is a string such as 1.1.

xmlns:junos

XML namespace for the tag elements enclosed by the <junoscript> tag element that have the junos: prefix. The value is a URL of the form http://xml.juniper.net/junos/release-code/junos, where release-code is the standard string that represents a release of the Junos OS, such as 20.4R1 for the initial version of Junos OS Release 20.4.