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 #44 background imageLoading...
Page #44 background image
2-44
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
<GetConfigurationHistory> operation used with a RollbackOnly value of “false” corresponds to the
CLI command show configuration history. When the RollbackOnly attribute is specified as “true”,
the operation corresponds to the CLI command show rollback-points.
The following example shows a request to list the information associated with the previous three
commits. This request corresponds to the CLI command show configuration history 3.
Sample XML Request to List Configuration History Information for the Previous Three Commits
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
<GetConfigurationHistory Maximum=”3”/>
</Request>
Sample XML Response from the Cisco CRS-1 Series Router
<?xml version="1.0" encoding="UTF-8"?>
<Response MajorVersion="1" MinorVersion="0">
<GetConfigurationHistory Maximum=”3”>
<CommitEntry>
<CommitID>1000000075</CommitID>
<Label>BGPUpdate1</Label>
<UserID>cisco</UserID>
<Line>line0</Line>
<ClientName>XMLDemo</ClientName>
<Timestamp>Wed June 18 19:16:18 2003</Timestamp>
<Comment>BGP config update</Comment>
</CommitEntry>
<CommitEntry>
<CommitID>1000000074</CommitID>
<Label xsi:nill=”true”>
<UserID>unknown</UserID>
<Line>con0_0_0</Line>
<ClientName>CLI</ClientName>
<Timestamp>Wed June 18 03:08:07 2003</Timestamp>
<Comment xsi:nill=”true”>
</CommitEntry>
<CommitEntry>
<CommitID>1000000073</CommitID>
<Label>MyCDPUpdate</Label>
<UserID>nchomsky</UserID>
<Line>line1</Line>
<ClientName>XMLDemo</ClientName>
<Timestamp>Tue June 17 11:07:55 2003</Timestamp>
<Comment>My CDP config update</Comment>
</ComitEntry>
</GetConfigurationHistory>
</Response>
Getting Configuration Session Information
The client application uses the <GetConfigurationSessions> operation to get the list of all users currently
configuring the Cisco CRS-1 Series router. In the case where the configuration is locked, the list will
identify the user holding the lock.

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