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 #82 background imageLoading...
Page #82 background image
7-82
Cisco CRS-1 Series Carrier Routing System XML API Guide
OL-4596-01
Chapter 7 Cisco CRS-1 Series XML and Large Data Retrieval (Iterators)
10—Maximum number of iterators allowed at any one time on a given client session.
100—Maximum number of iterators allowed at any one time for all client sessions.
The following example shows a client request that utilizes an iterator to retrieve all global Border
Gateway Protocol (BGP) configuration data for a specified autonomous system:
Sample XML Client Request to Retrieve All BGP Configuration Data
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
<Get>
<Configuration>
<BGP MajorVersion=”1” MinorVersion=”0”>
<AS>
<Naming>
<AS>3</AS>
</Naming>
<Global/>
</AS>
</BGP>
</Configuration>
</Get>
</Request>
Sample XML Response from the Cisco CRS-1 Series Router Containing the First Block of Retrieved Data
<?xml version="1.0" encoding="UTF-8"?>
<Response MajorVersion="1" MinorVersion="0" IteratorID=”1”>
<Get>
<Configuration>
<BGP MajorVersion=”1” MinorVersion=”0”>
<AS>
<Naming>
<AS>3</AS>
</Naming>
<Global>
.
.
.
1st block of data returned here
.
.
.
</Global>
<AS>
</BGP>
</Configuration>
<Get>
</Response>
Second XML Client Request Using the <GetNext> Iterator to Retrieve the Next Block of BGP Configuration Data
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
<GetNext IteratorID=”1”/>
</Request>
Sample XML Response from the Cisco CRS-1 Series Router Containing the Second Block of Retrieved Data
<?xml version="1.0" encoding="UTF-8"?>
<Response MajorVersion="1" MinorVersion="0" IteratorID=”1”>
<Get>
<Configuration>
<BGP MajorVersion=”1” MinorVersion=”0”>

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