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 #40 background imageLoading...
Page #40 background image
2-40
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
<Configuration Source=”CommitChanges” SinceCommitID=”1000000072”>
.
.
.
changed config returned here
.
.
.
</Configuration>
</Get>
</Response>
Clearing a Target Session
Prior to committing the target configuration to the active running configuration, the client application
can use the <Clear> operation to clear the target configuration session. This operation has the effect of
clearing the contents of the target configuration, thus removing any changes made to the target
configuration since the last commit. The clear operation does not end the target configuration session,
but results in the discarding of any uncommitted changes from the target configuration.
If the clear operation is successful, the response will contain just the <Clear/> tag. If the clear operation
fails, the response will also contain the ErrorCode and ErrorMsg attributes indicating the cause of the
clear failure.
The following example shows a request to clear the current target configuration session. This request
corresponds to the CLI command clear.
Sample Cisco CRS-1 Series XML Request to Clear the Current Target Configuration Session
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
<Clear/>
</Request>
Sample XML Response from a Cisco CRS-1 Series Router
<?xml version="1.0" encoding="UTF-8"?>
<Response MajorVersion="1" MinorVersion="0">
<Clear/>
</Response>
Rolling Back Configuration Changes to a Specified Commit Identifier
The client application uses the <Rollback> operation with the <CommitID> tag to roll back the
configuration changes made since (and including) the commit by specifying a commit identifier or
commit label.
If the roll back operation is successful, the response will contain both the <Rollback> and <CommitID>
tags. If the roll back operation fails, the response will also contain the ErrorCode and ErrorMsg attributes
indicating the cause of the roll back failure.
The following optional attributes can be specified with the <Rollback> operation by the client
application when rolling back to a commit identifier:
Label—A unique user-specified label to be associated with the roll back in the Cisco CRS-1 Series
router commit database. If specified, the label must begin with an alphabetic character and cannot
match any existing label in the Cisco CRS-1 Series router commit database.

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