Get-Configuration - Juniper JUNOS OS 10.3 - XML MANAGEMENT PROTOCOL GUIDE 6-30-2010 Manual

Junos xml management protocol guide
Hide thumbs Also See for JUNOS OS 10.3 - XML MANAGEMENT PROTOCOL GUIDE 6-30-2010:
Table of Contents

Advertisement

<get-configuration>
Usage
Description
Attributes
Copyright © 2010, Juniper Networks, Inc.
<rpc>
<get-configuration [changed="changed"] [database="(candidate | committed)"]
[format="(text | xml)"]
[inherit="(defaults | inherit)" [groups="groups"]]/>
<get-configuration [changed="changed"] [database="(candidate | committed)"]
[format="(text | xml)"]
[inherit="(defaults | inherit)" [groups="groups"]]/>
<!-- tag elements for the configuration element to display -->
</get-configuration>
</rpc>
Request configuration data from the Junos XML protocol server. The attributes specify
the source and formatting of the data to display. Either the entire configuration hierarchy
or a section can be displayed:
To display the entire configuration hierarchy, emit the empty
To display a configuration element (hierarchy level or configuration object), emit tag
elements within the
<get-configuration>
configuration hierarchy from the root (represented by the
down to the level or object to display. To represent a hierarchy level or a configuration
object that does not have an identifier, emit it as an empty tag. To represent an object
that has one or more identifiers, emit its container tag element and identifier tag
elements only, not any tag elements that represent other characteristics.
—Specifies that the
changed
opening tag of each changed configuration element.
The attribute appears in the opening tag of every parent tag element in the path to the
changed configuration element, including the top-level opening
the changed configuration element is represented by a single (empty) tag, the
junos:changed="changed"
represented by a container tag element, the
in the opening container tag and also in each child tag element enclosed in the container
tag element.
The
attribute can be combined with the
database
either the candidate or active configuration:
When the candidate configuration is requested (the
included or the
database
candidate configuration after the last commit operation are marked with the
junos:changed="changed"
When the active configuration is requested (the
included), elements added to the active configuration by the most recent commit are
marked with the
junos:changed="changed"
Chapter 7: Summary of Junos XML Protocol Tag Elements
tag element to represent all levels of the
junos:changed="changed";
attribute appears in the tag. If the changed element is
junos:changed="changed"
changed="changed"
attribute is omitted completely), elements added to the
attribute.
database="candidate"
attribute.
<get-configuration/>
<configuration>
tag element)
attribute should appear in the
<configuration>
attribute appears
attribute to request
attribute is
database="changed"
attribute is
tag.
tag. If
163

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os

Table of Contents