Requesting A Previous (Rollback) 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

Requesting a Previous (Rollback) Configuration

Copyright © 2010, Juniper Networks, Inc.
Client Application
Junos XML Protocol Server
</xsd:element>
<xsd:element name="configuration">
<xsd:complexType>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</rpc-reply>
To request a previously committed (rollback) configuration, a client application emits
the Junos XML
<get-rollback-information>
element in an
<rpc>
tag element. This operation is equivalent to the
operational mode command. The
the previous configuration to display; its value can be from
committed configuration) through
To request Junos XML-tagged output, the application either includes the
element with the value
xml
are the default):
<rpc>
<get-rollback-information>
<rollback>index-number</rollback>
</get-rollback-information>
</rpc>
The Junos XML protocol server encloses its response in
, and
<rollback-information>
a side effect of the implementation and does not affect the results. For information about
the attributes in the opening
Committed or Candidate Configuration" on page 65.
<rpc-reply xmlns:junos="URL">
<rollback-information>
<load-success/>
<configuration attributes>
<!-- tag elements representing the complete previous configuration -->
</configuration>
<xsd:sequence>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element ref="undocumented"/>
<xsd:element ref="comment"/>
<xsd:element name="system" minOccurs="0">
<xsd:complexType>
<xsd:sequence>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element ref="undocumented"/>
<xsd:element ref="comment"/>
<!- - child elements of <system> - ->
</xsd:choice >
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<!- - definitions for other hierarchy levels - ->
</xsd:choice >
</xsd:sequence>
tag element and its child
tag element specifies the index number of
<rollback>
49
.
or omits the
<format>
tag element (Junos XML tag elements
tag elements. The
<configuration>
tag, see "Requesting Information from the
<configuration>
Chapter 4: Requesting Information
tag
<rollback>
show system rollback
(zero, for the most recently
0
<format>
,
<rpc-reply>
tag is
<load-success/>
tag
97

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os

Table of Contents