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 #95 background imageLoading...
Page #95 background image
9-95
Cisco CRS-1 Series Carrier Routing System XML API Guide
OL-4596-01
Chapter 9 Cisco CRS-1 Series XML Schema Versioning
Retrieving Version Information
</Response>
Retrieving Version Information
The version of the XML schemas running on the Cisco CRS-1 Series router can be retrieved using the
<GetVersionInfo> tag followed by the appropriate tags identifying the names of the desired components.
In the following example, the <GetVersionInfo> tag is used to retrieve the major and minor version
numbers for the BGP component configuration schema:
Sample XML Request to Retrieve Major and Minor Version Numbers
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
<GetVersionInfo>
<Configuration>
<BGP/>
</Configuration>
</GetVersionInfo>
</Request>
Sample XML Response from the Cisco CRS-1 Series Router
<?xml version="1.0" encoding="UTF-8"?>
<Response MajorVersion="1" MinorVersion="0">
<GetVersionInfo>
<Configuration>
<BGP MajorVersion=”1” MinorVersion=”0”/>
</Configuration>
</GetVersionInfo>
</Response>
The following example shows how to retrieve the version information for all configuration schemas
currently available on the router:
Sample XML Request to Retrieve Version Information for All Configuration Schemas
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
<GetVersionInfo>
<Configuration/>
</GetVersionInfo>
</Request>
Sample XML Response from the Cisco CRS-1 Series Router
<?xml version="1.0" encoding="UTF-8"?>
<Response MajorVersion="1" MinorVersion="0">
<GetVersionInfo>
<Configuration>
.
.
.
<MPLS_LSD MajorVersion="1" MinorVersion="0"/>
<MPLS_TE MajorVersion="1" MinorVersion="0"/>
<OUNI MajorVersion="1" MinorVersion="0"/>
<OLM MajorVersion="1" MinorVersion="0"/>
<BGP MajorVersion=”1” MinorVersion=”0”/>
<CDP MajorVersion=”1” MinorVersion=”1”/>
<RSVP 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