EasyManuals Logo
Home>Cisco>Network Router>CRS-1 - Carrier Routing System Router

Cisco CRS-1 - Carrier Routing System Router Api Guide

Cisco CRS-1 - Carrier Routing System Router
127 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #47 background imageLoading...
Page #47 background image
CHAPTER
3-47
Cisco CRS-1 Series Carrier Routing System XML API Guide
OL-4596-01
3
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”
Action Requests”
Operational Get Requests
The content and format of operational <Get> requests are described in additional detail in Chapter 4,
“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>
<Operational>
<BGP MajorVersion=”1” MinorVersion=”0”>
<GlobalProcessInfo/>
</BGP>
</Operational>
</Get>
</Request>

Table of Contents

Other manuals for Cisco CRS-1 - Carrier Routing System Router

Questions and Answers:

Question and Answer IconNeed help?

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

Cisco CRS-1 - Carrier Routing System Router Specifications

General IconGeneral
BrandCisco
ModelCRS-1 - Carrier Routing System Router
CategoryNetwork Router
LanguageEnglish

Related product manuals