Specifications
CHAPTER
6-81
Cisco CRS-1 Series Carrier Routing System XML API Guide
OL-4596-02
6
Cisco CRS-1 Series XML and Encapsulated CLI
Operations
The extensible markup language (XML) interface for the Cisco CRS-1 Series Carrier Routing System
(Cisco CRS-1 Series) provides support for XML encapsulated command-line interface (CLI) commands
and responses.
This chapter provides information on XML CLI command tags.
Note The XML application programming interface (API) code is available for use on any Cisco platform that runs
Cisco IOS XR software.
XML CLI Command Tags
A client application can request a CLI command by encoding the text for the command within a pair of
<CLI> start and </CLI> end tags, and <Configuration> tags. The router responds with the uninterpreted
CLI text result.
Note XML encapsulated CLI commands use the same target configuration as the corresponding XML
operations <Get>, <Set>, and <Delete>.
When used for CLI operations, the <Configuration> tag supports the optional Operation attribute, which
can take one of the values listed in Table 6-1.
Table 6-1 Operational Attribute Values
Operational Attribute Value Operational Attribute Value Description
Apply Specifies that the commands should be executed or applied
(default).