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 #94 background imageLoading...
Page #94 background image
9-94
Cisco CRS-1 Series Carrier Routing System XML API Guide
OL-4596-01
Chapter 9 Cisco CRS-1 Series XML Schema Versioning
Run-Time Use of Version Information
</AS>
</BGP>
</Configuration>
</Get>
</Request>
Sample XML Response from the Cisco CRS-1 Series Router
<?xml version="1.0" encoding="UTF-8"?>
<Response MajorVersion="1" MinorVersion="0" IteratorID=”1”>
<Get>
<Configuration>
<BGP MajorVersion=”1” MinorVersion=”1”>
<AS>
<Naming>
<AS>3</AS>
</Naming>
<Global>
.
.
.
data returned here
.
.
.
</Global>
<AS>
</BGP>
</Configuration>
<Get>
</Response>
Version Creep
The following example shows a request and response with a version mismatch. In this case, the client
minor version is ahead of that of the router minor version, resulting in an error response.
Sample XML Request with a Minor Version Mismatch Ahead of the Cisco CRS-1 Series Router
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
<Get>
<Configuration>
<BGP MajorVersion=”1” MinorVersion=”1”/>
</Configuration>
</Get>
</Request>
Sample XML Response from the Cisco CRS-1 Series Router
<?xml version="1.0" encoding="UTF-8"?>
<Response MajorVersion="1" MinorVersion="0" IteratorID=”12345678”>
<Get xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ErrorCode=”0x4368ac00"
ErrorMsg="&apos;XMLMDA&apos; detected the &apos;warning&apos;
condition &apos;The XML version specified in the XML request is not compatible with
the version running on the router&apos;">
<Configuration>
<BGP MajorVersion=”1” MinorVersion=”0” ErrorCode="0x42f8e800"
ErrorMsg="&apos; detected the &apos;warning&apos; condition
&apos; A version check on a class has failed&apos;"/>
</Configuration>
<Get>

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