Xml Request For Specific Data Items - Cisco CRS-1 - Carrier Routing System Router Api Manual

Carrier routing system xml api guide
Hide thumbs Also See for CRS-1 - Carrier Routing System Router:
Table of Contents

Advertisement

Available Set of Native Data Access Techniques
Sample XML Response from the Cisco CRS-1 Series Router
<?xml version="1.0" encoding="UTF-8"?>
<Response MajorVersion="1" MinorVersion="0">
<Get>
</Get>
</Response>

XML Request for Specific Data Items

The value of a specific data item (leaf object) can be retrieved by specifying the configuration or
operational object class hierarchy down to the item of interest, including any naming information as
appropriate.
The following example shows how to retrieve the values of the two data items <RemoteAS> and
<EBGPMultihopMaxHopCount> for the BGP neighbor with address 10.0.101.6:
Sample XML Client Request for Two Specific Data Items: RemoteAS and EBGPMultihopMaxHopCount
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
<Get>
Cisco CRS-1 Series Carrier Routing System XML API Guide
5-66
<Configuration>
<BGP MajorVersion="1" MinorVersion="0">
<AS>
<Naming>
<AS>3</AS>
</Naming>
<BGPEntity>
<NeighborTable>
<Neighbor>
<Naming>
<IPAddress>
<IPV4Address>10.0.101.6</IPV4Address>
</IPAddress>
</Naming>
<RemoteAS>6</RemoteAS>
<EBGPMultihopMaxHopCount>255</EBGPMultihopMaxHopCount>
<NeighborAFTable>
<NeighborAF>
<Naming>
<AF>IPv4Unicast</AF>
</Naming>
<Activate>true</Activate>
<PrefixListFilterIn>orf</PrefixListFilterIn>
<AdvertiseORF>Both</AdvertiseORF>
</NeighborAF>
<NeighborAF>
<Naming>
<AF>IPv4Multicast</AF>
</Naming>
<Activate>true</Activate>
<PrefixListFilterIn>orf</PrefixListFilterIn>
</NeighborAF>
</NeighborAFTable>
</Neighbor>
</NeighborTable>
</BGPEntity>
</AS>
</BGP>
</Configuration>
<Configuration>
Chapter 5
Cisco CRS-1 Series XML and Native Data Access Techniques
OL-4596-01

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CRS-1 - Carrier Routing System Router and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Crs-1 series

Table of Contents