Chapter 3 Cisco Crs-1 Series Xml Operational Requests And Fault Management; Operational Get Requests - 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 Operational Requests
and Fault Management
A client application can send an extensible markup language (XML) request to get the Cisco CRS-1
Series Carrier Routing System (Cisco CRS-1 Series) router operational information using either a native
data <Get> request along with the <Operational> tag, or the equivalent command-line interface (CLI)
command. Although the CLI is more familiar to users, the advantage of using the <Get> request is that
the response data will be encoded in XML format instead of being just uninterpreted text enclosed within
<CLI> tags.
Note
The XML API code is available for use on any Cisco platform that runs Cisco IOS XR software.
This chapter contains the following sections:

Operational Get Requests

The content and format of operational <Get> requests are described in additional detail in
"Cisco CRS-1 Series XML and Native Data Operations."
The following example shows a <Get> request to retrieve the global Border Gateway Protocol (BGP)
process information. This request returns BGP process information similar to that displayed by the CLI
command show ip bgp process detail.
Sample XML Client Request to Get BGP Information
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
<Get>
</Get>
</Request>
OL-4596-01
"Operational Get Requests"
"Action Requests"
<Operational>
<BGP MajorVersion="1" MinorVersion="0">
<GlobalProcessInfo/>
</BGP>
</Operational>
C H A P T E R
Cisco CRS-1 Series Carrier Routing System XML API Guide
3
Chapter 4,
3-47

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CRS-1 - Carrier Routing System Router and is the answer not in the manual?

This manual is also suitable for:

Crs-1 series

Table of Contents