Requesting The Rescue 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

Requesting the Rescue Configuration

100
Client Application
<rpc>
<get-rollback-infor mation>
<rollback>20</rollback>
<compare>4</compare>
</get-rollback-information>
</r pc>
To request the rescue configuration, a client application emits the Junos XML
tag element in an
<get-rescue-information>
to the
show system configuration rescue
The rescue configuration is a configuration saved in case it is necessary to restore a valid,
nondefault configuration. (To create a rescue configuration, use the Junos XML
<request-save-rescue-configuration>
CLI operational mode command. For more information, see the Junos XML
rescue save
API Operational Reference or the Junos System Basics and Services Command Reference.)
To request Junos XML-tagged output, the application either includes the
element with the value
xml
are the default):
<rpc>
<get-rescue-information/>
</rpc>
Junos XML Protocol Server
<rpc-reply xmlns:junos="URL ">
<rollback-information>
<load-success/>
<configuration-information>
<configuration-output>
[edit interfaces]
-
ge-0/2/0 {
-
stacked-vlan-tagging;
-
mac 00.01.02.03.04.05;
-
gigether-options {
-
loopback;
-
}
-
}
[edit]
+
services {
+
l2tp {
+
tunnel-group 12 {
+
local-gateway;
+
}
+
}
+
}
</configuration-output>
</configuration-infor mation>
</rollback-infor mation>
</r pc-reply>
tag element. This operation is equivalent
<rpc>
operational mode command.
tag element or the
or omits the
<format>
tag element (Junos XML tag elements
request system configuration
<format>
Copyright © 2010, Juniper Networks, Inc.
tag

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os

Table of Contents