Load-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

Junos 10.3 Junos XML Management Protocol Guide
<load-configuration>
Usage
Description
168
<rpc>
<load-configuration rescue="rescue"/>
<load-configuration rollback="index"/>
<load-configuration url="url " [action="(merge | override | replace | update)"] \
[format="(text | xml)"]/>
<load-configuration format="text" [action="(merge | override | replace | \
update)"]>
<configuration-text>
<!-- formatted ASCII configuration statements to load -->
</configuration-text>
</load-configuration>
<load-configuration [action="(merge | override | replace | update)"] \
[format="xml"]>
<configuration>
<!-- tag elements for configuration elements to load -->
</configuration>
</load-configuration>
</rpc>
Request that the Junos XML protocol server load configuration data into the candidate
configuration. Provide the data to load in one of four ways:
Set the empty
<load-configuration/>
rescue configuration completely replaces the candidate configuration.
Set the empty
<load-configuration/>
a previous configuration. The routing platform stores a copy of the most recently
committed configuration and up to 49 previous configurations. The specified previous
configuration completely replaces the candidate configuration.
Set the empty
<load-configuration/>
contains the configuration data to load. The data can be either formatted ASCII text
(in which case the
format
elements (in which case the
In the following example, the
<load-configuration url="/tmp/add.conf"/>
Enclose the configuration data within an opening
</load-configuration>
tag. If providing the configuration data as formatted ASCII text,
enclose it in a
<configuration-text>
value
. If providing configuration data as Junos XML tag elements, enclose it in a
text
<configuration>
tag element and optionally set the
tag's
rescue
attribute to the value
tag's
attribute to the numerical index of
rollback
tag's
attribute to the pathname of a file that
url
attribute must be set to the value
format
attribute is either omitted or set to the value
attribute identifies
url
/tmp/add.conf
<load-configuration>
tag element and set the
format
rescue
. The
) or Junos XML tag
text
as the file to load.
and closing
attribute to the
format
attribute to the value
Copyright © 2010, Juniper Networks, Inc.
xml
).
xml
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os

Table of Contents