- Preface
- Cisco XML API Overview
- Cisco XML Router Configuration and Management
- Cisco XML Operational Requests and Fault Management
- Cisco XML and Native Data Operations
- Cisco XML and Native Data Access Techniques
- Cisco XML and Encapsulated CLI Operations
- Cisco XML and Large Data Retrieval
- Cisco XML Security
- Cisco XML Schema Versioning
- Alarms
- Error Reporting in Cisco XML Responses
- Summary of Cisco XML API Configuration Tags
- Cisco XML Transport and Event Notifications
- Cisco XML Schemas
- Network Configuration Protocol
- Cisco IOS XR Perl Scripting Toolkit
- Sample BGP Configuration
- Glossary
- Index
Summary of Cisco XML API Configuration Tags
Table 12-1 provides the CLI to XML application programming interface (API) tag mapping for the router target configuration.
|
|
---|---|
To end, abort, or exit1 (from top config mode) |
<Unlock>2 |
clear |
<Clear> |
show config |
<Get> with <Configuration Source="ChangedConfig"> |
show config running |
<Get> with <Configuration Source="CurrentConfig"> |
show config merge |
<Get> with <Configuration Source="MergedConfig"> |
show config failed |
<Load> with <FailedConfig> followed by <Get> with <Configuration Source="ChangedConfig"> |
configure exclusive3 |
<Lock>4 |
To change the selected config |
<Set> with <Configuration> |
To delete the selected config |
<Delete> with <Configuration> |
commit best-effort |
<Commit Mode="BestEffort"> |
commit |
<Commit Mode="Atomic"> |
show config failed |
<Load> with <FailedConfig> |
show commit changes commitid |
<Get> with <Configuration Source="CommitChanges" ForCommitID="commitid"> |
show commit changes since commitid |
<Get> with <Configuration Source="CommitChanges" SinceCommitID="commitid"> |
rollback configuration to commitid |
<Rollback> with <CommitID> |
rollback configuration last number |
<Rollback> with <Previous> |
show rollback changes to commitid |
<Get> with <Configuration Source="RollbackChanges" ToCommitID="commitid"> |
show rollback changes last number |
<Get> with <Configuration Source="RollbackChanges" PreviousCommits="number"> |
show rollback points |
<GetConfigurationHistory RollbackOnly="true"> |
show configuration sessions |
<GetConfigurationSessions> |
1 These CLI operations end the configuration session and unlock the running configuration session if it is locked. 2 This XML tag releases the lock on a running configuration but does not end the configuration session. 3 This CLI command starts a new configuration session and locks the running configuration. 4 This XML tag locks the running configuration from a configuration session that is already in progress. |