Chapter 6 Cisco Crs-1 Series Xml And Encapsulated Cli Operations; Xml Cli Command Tags - Cisco CRS-1 - Carrier Routing System Router Api Manual

Carrier routing system xml api guide
Hide thumbs Also See for CRS-1 - Carrier Routing System Router:
Table of Contents

Advertisement

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 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 will then respond with the
uninterpreted CLI text result.
XML encapsulated CLI commands use the same target configuration as the corresponding XML
Note
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
Operational Attribute Value
Apply
Help
CommandCompletion
OL-4596-01
Table
Operational Attribute Values
Operational Attribute Value Description
Specifies that the commands should be executed or applied
(default).
Gets help on the last command in the list of commands sent in the
request. There should not be any empty lines after the last command
(because the last command is considered to be the one on the last
line)
Completes the last keyword of the last command. Apart from not
allowing empty lines at the end of the list of commands sent in the
request, when this option is used there should not be any white
spaces after the partial keyword to be completed.
C H A P T E R
6-1.
Cisco CRS-1 Series Carrier Routing System XML API Guide
6
6-79

Advertisement

Table of Contents
loading

This manual is also suitable for:

Crs-1 series

Table of Contents