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 #43 background imageLoading...
Page #43 background image
2-43
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
<Get>
<Configuration Source=”RollbackChanges” PreviousCommits=”4”/>
</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” PreviousCommits=”4”>
.
.
.
rollback changes returned here
.
.
.
</Configuration>
</Get>
</Response>
Getting Configuration History
The client application uses the <GetConfigurationHistory> operation to get information regarding the
most recent commits to the running configuration.
The information provided in Table 2-1 is returned for each commit.
Two optional attributes Maximum and RollbackOnly can be specified with the
<GetConfigurationHistory> operation:
Maximum—Use the Maximum attribute to specify the maximum number of entries to return from
the commit history file. If the Maximum attribute is not included in the request or if the Maximum
value is greater than the actual number of entries in the commit history file, all entries are returned.
The commit entries are returned with the most recent commit first in the list.
RollbackOnly—Use the RollbackOnly Boolean attribute to specify whether the response should
contain only those commits that can be rolled back. In addition to the commit history file, the Cisco
CRS-1 Series router maintains a commit database of up to 20 records corresponding to the last 20
commits that can be rolled back. The default value for RollbackOnly is “false”. The
Table 2-1 Returned Commit Information
Returned Commit Information Commit Information Description
<CommitID> The unique ID associated with the commit.
<Label> The optional label associated with the commit.
<UserID> The name of the user who created the configuration session within
which the commit was performed.
<Line> The line used to connect to the router for the configuration session.
<ClientName> The name of the client application that performed the commit.
<Timestamp> The date and time of the commit.
<Comment> The comment associated with the commit.

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