Native Data Operation Examples; Set Configuration Data Request: Example - 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

Chapter 4
Cisco CRS-1 Series XML and Native Data Operations
</Get>
</Response>

Native Data Operation Examples

The following sections provide examples of the basic <Set>, <Get>, and <Delete> operations.

Set Configuration Data Request: Example

The following example shows a native data request to set several configuration values for a particular
BGP neighbor. Because the <Set> operation in this example is successful, the response contains only the
<Set> operation and <Configuration> request type tags.
This request is equivalent to the following CLI commands:
router bgp 3
neighbor 10.0.101.6
exit
exit
Sample XML Client Request to <Set> Configuration Values for a BGP Neighbor
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
OL-4596-01
<Global>
<GlobalTimers>
<Keepalive>60</Keepalive>
<Holdtime>180</Holdtime>
</GlobalTimers>
</Global>
</AS>
</BGP>
</Configuration>
remote-as 6
ebgp-multihop 255
address-family ipv4 unicast
prefix-list orf in
capability orf prefix-list both
exit
address-family ipv4 multicast
prefix-list orf in
exit
<Set>
<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>
Cisco CRS-1 Series Carrier Routing System XML API Guide
Native Data Operation Content
4-57

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