EasyManuals Logo
Home>Cisco>Network Router>CRS-1 - Carrier Routing System Router

Cisco CRS-1 - Carrier Routing System Router Api Guide

Cisco CRS-1 - Carrier Routing System Router
127 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #42 background imageLoading...
Page #42 background image
2-42
Cisco CRS-1 Series Carrier Routing System XML API Guide
OL-4596-01
Chapter 2 Cisco CRS-1 Series XML Router Configuration and Management
Additional Cisco CRS-1 Series Router Configuration and Management Options Using XML
<Previous>3</Previous>
</Rollback>
</Request>
Sample XML Response from the Cisco CRS-1 Series Router
<?xml version="1.0" encoding="UTF-8"?>
<Response MajorVersion="1" MinorVersion="0">
<Rollback>
<Previous>3</Previous>
</Rollback>
</Response>
Getting Rollback Changes
The client application can read a set of rollback changes using the <Get> operation along with the
<Configuration> request type tag when it includes both the Source attribute option RollbackChanges and
one of the additional attributes ToCommitID or PreviousCommits.
The set of roll back changes are the changes that will be applied when the <Rollback> operation is
performed using the same parameters. It is recommended that the client application read or verify the set
of roll back changes before performing the roll back.
The following example shows the use of the ToCommitID attribute to get the rollback changes for rolling
back to a specific commit. This request corresponds to the CLI command show rollback-changes to
1000000072
.
Sample XML Client Request to Get Rollback Changes Using the ToCommitID Attribute
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
<Get>
<Configuration Source=”RollbackChanges” ToCommitID=”1000000072”/>
</Get>
</Request>
Sample XML Response from the Cisco CRS-1 Series Router
<?xml version="1.0" encoding="UTF-8"?>
<Response MajorVersion="1" MinorVersion="0">
<Get>
<Configuration Source=”RollbackChanges” ToCommitID=”1000000072”>
.
.
.
rollback changes returned here
.
.
.
</Configuration>
</Get>
</Response>
The following example shows the use of the PreviousCommits attribute to get the roll back changes for
rolling back a specified number of commits. This request corresponds to the CLI command show
rollback-changes last 4
.
Sample XML Client Request to Get Roll Back Changes Using the PreviousCommits Attribute
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">

Table of Contents

Other manuals for Cisco CRS-1 - Carrier Routing System Router

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco CRS-1 - Carrier Routing System Router and is the answer not in the manual?

Cisco CRS-1 - Carrier Routing System Router Specifications

General IconGeneral
BrandCisco
ModelCRS-1 - Carrier Routing System Router
CategoryNetwork Router
LanguageEnglish

Related product manuals