Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
ON THIS PAGE
 

junos:key

Usage

Description

Indicate that a child configuration tag element is the identifier for its parent tag element. The Junos XML protocol server includes the attribute when the client application requests information about an object type (with the <get-configuration> tag element) and has included the junos:key attribute in either the <get-configuration> tag or in the opening <junoscript> tag for the current session.

The attribute does not appear if the client requests formatted ASCII output by including the format="text" attribute in the empty <get-configuration/> tag or opening <get-configuration> tag.

When requesting configuration data with Perl client applications using the get_configuration() method, the Junos XML protocol server includes the junos:key="key" attribute in the configuration data output when the client application sets the value of the Junos::Device constructor argument junos_key to 1. The default value is 0.

The attribute does not appear if the Perl client application requests formatted ASCII output by including the format=>'text' attribute in the options for the get_configuration() method.