Getting Configuration History - Cisco CRS-1 - Carrier Routing System Router Api Manual

Carrier routing system xml api guide
Hide thumbs Also See for CRS-1 - Carrier Routing System Router:
Table of Contents

Advertisement

Chapter 2
Cisco CRS-1 Series XML Router Configuration and Management
<Get>
</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>
</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
Returned Commit Information
<CommitID>
<Label>
<UserID>
<Line>
<ClientName>
<Timestamp>
<Comment>
Two optional attributes Maximum and RollbackOnly can be specified with the
<GetConfigurationHistory> operation:
OL-4596-01
Additional Cisco CRS-1 Series Router Configuration and Management Options Using XML
<Configuration Source="RollbackChanges" PreviousCommits="4"/>
<Configuration Source="RollbackChanges" PreviousCommits="4">
.
.
.
rollback changes returned here
.
.
.
</Configuration>
Table 2-1
Returned Commit Information
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
is returned for each commit.
Commit Information Description
The unique ID associated with the commit.
The optional label associated with the commit.
The name of the user who created the configuration session within
which the commit was performed.
The line used to connect to the router for the configuration session.
The name of the client application that performed the commit.
The date and time of the commit.
The comment associated with the commit.
Cisco CRS-1 Series Carrier Routing System XML API Guide
2-43

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Crs-1 series

Table of Contents