Cisco CRS-1 - Carrier Routing System Router Spécifications Page 41

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 132
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 40
2-41
Cisco CRS-1 Series Carrier Routing System XML API Guide
OL-4596-02
Chapter 2 Cisco CRS-1 Series XML Router Configuration and Management
Additional Cisco CRS-1 Series Router Configuration and Management Options Using XML
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">
<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.
Table 2-6 describes the information that is returned for each commit.
Table 2-6 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.
Vue de la page 40
1 2 ... 36 37 38 39 40 41 42 43 44 45 46 ... 131 132

Commentaires sur ces manuels

Pas de commentaire