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 #74 background imageLoading...
Page #74 background image
5-74
Cisco CRS-1 Series Carrier Routing System XML API Guide
OL-4596-01
Chapter 5 Cisco CRS-1 Series XML and Native Data Access Techniques
Available Set of Native Data Access Techniques
</BGPEntity>
</AS>
</BGP>
</Configuration>
</Get>
</Response>
XML Request Using Operation Scope (Content Attribute)
The Content attribute is used on any table element in order to specify the scope of a <Get> operation.
Currently two Content attribute values are supported. (See Table 5-1.)
If the Content attribute is specified on a nontable element, it will be ignored. Note also that the Content
and Count attributes can be used together on the same table element.
In the follow example, the Content attribute is used to list all configured BGP neighbors:
Sample XML Client Request Using the All Content Attribute
<?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>
<BGPEntity>
<NeighborTable Content=”Entries”/>
</BGPEntity>
</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">
<Get>
<Configuration>
<BGP MajorVersion="1" MinorVersion="0">
<AS>
<Naming>
<AS>3</AS>
</Naming>
<BGPEntity>
<NeighborTable Content=”Entries”>
<Neighbor>
Table 5-1 Content Attributes
Content Attribute Description
All Use to get all leaf items and their values. All is the default when the Content
attribute is not specified on a table element.
Entries Use to get the Naming information for each entry within a specified table
object class. Entries provides a one-level get capability.

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