Specifications
2-24
Cisco CRS-1 Series Carrier Routing System XML API Guide
OL-4596-02
Chapter 2 Cisco CRS-1 Series XML Router Configuration and Management
Configuration Operations
be promoted (that is, committed) to the running configuration explicitly by the client application in order
to replace or become the running configuration. If the client session breaks, the current target
configuration is aborted and any outstanding locks are released.
Note Only the syntax of the target configuration is checked and verified to be compatible with the installed
software image on the router. The semantics of the target configuration is checked only when the target
configuration is promoted to the running configuration.
Configuration Operations
Use the following configuration options from the client application to configure or modify the
Cisco CRS-1 Series router with XML:
Note Only the tasks in the “Committing the Target Configuration” section are required to change the
configuration on the router (that is, modifying and committing the target configuration).
• Locking the Running Configuration, page 2-25
• Browsing the Target or Running Configuration, page 2-25
–
Getting Configuration Data, page 2-26
• Browsing the Changed Configuration, page 2-27
• Loading the Target Configuration, page 2-29
• Setting the Target Configuration Explicitly, page 2-29
• Saving the Target Configuration, page 2-31
• Committing the Target Configuration, page 2-31
–
Loading a Failed Configuration, page 2-34
• Unlocking the Running Configuration, page 2-35
Additional Configuration Options Using XML
Several additional, optional configuration tasks are available to the client application for configuring or
modifying the Cisco CRS-1 Series router with XML:
• Getting Commit Changes, page 2-36
• Clearing a Target Session, page 2-38
• Rolling Back Configuration Changes to a Specified Commit Identifier, page 2-38
• Rolling Back Configuration Changes to a Specified Number of Commits, page 2-39
• Getting Rollback Changes, page 2-40
• Getting Configuration History, page 2-41
• Getting Configuration Session Information, page 2-43
• Replacing the Current Running Configuration, page 2-44