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 #54 background imageLoading...
Page #54 background image
4-54
Cisco CRS-1 Series Carrier Routing System XML API Guide
OL-4596-01
Chapter 4 Cisco CRS-1 Series XML and Native Data Operations
Native Data Operation Content
<NeighborTable>, and its child element signifying a particular neighbor is <Neighbor>. To specify the
key, an extension to the basic parent-child hierarchy is used, where a <Naming> element appears under
the child element, containing the key to the table entry.
The following example shows hierarchy tables:
<Configuration>
<BGP>
.
.
.
<BGPEntity>
<NeighborTable>
<Neighbor>
<Naming>
<IPAddress>
<IPV4Address>10.0.101.6</IPV4Address>
</IPAddress>
</Naming>
<RemoteAS>6</RemoteAS>
</Neighbor>
<Neighbor>
<Naming>
<IPAddress>
<IPV4Address>10.0.101.7</IPV4Address>
</IPAddress>
</Naming>
<RemoteAS>7</RemoteAS>
</Neighbor>
</NeighborTable>
</BGPEntity>
.
.
.
</BGP>
<ISIS>
.
.
.
</ISIS>
</Configuration>
Use tables to access a specific data item for an entry (for example, getting the remote autonomous system
(AS) number for neighbor 10.0.101.6), or all data for an entry, or even all data for all entries.
Tables also provide the extra feature of allowing the list of entries in the table to be returned (see the
section ā€œXML Request Using Operation Scope (Content Attribute)ā€.
Returned entries from tables can be used to show all neighbors configured, for example, without showing
all of their data.
Tables in the operational data model often have a further feature when retrieving their entries. The tables
can be filtered on particular criteria to return just the set of entries that fulfill those criteria. For instance,
the table of BGP neighbors can be filtered on address family or AS number or update group, or all three.
To apply a filter to a table, use another extension to the basic parent-child hierarchy, where a <Filter>
element appears under the table element, containing the criteria to filter on.
The following example shows table filtering:
<Operational>
<BGP>
<NeighborTable>
<Filter>
<BGP_AFFilter>

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