Cisco CRS-1 - Carrier Routing System Router Especificaciones Pagina 61

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 132
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 60
4-61
Cisco CRS-1 Series Carrier Routing System XML API Guide
OL-4596-02
Chapter 4 Cisco CRS-1 Series XML and Native Data Operations
Native Data Operation Content
.
.
.
<Neighbor>
</NeighborTable>
</BGPEntity>
</AS>
</BGP>
</Configuration>
</Get>
</Response>
Delete Request: Example
The following example shows a native data request to delete the address-independent configuration for
a particular BGP neighbor. Note that if a request is made to delete an item that does not exist in the
current configuration, an error is not returned to the client application. So in the following example, the
returned result is the same as in the previous example: the empty <Delete/> tag, whether or not the
specified BGP neighbor exists.
This request is equivalent to the following CLI commands:
router /jointfilesconvert/476768/bgp 3
no neighbor 10.0.101.9
exit
Sample XML Client Request to <Delete> the Address-Independent Configuration Data for a BGP Neighbor
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
<Delete>
<Configuration>
<BGP MajorVersion=”1” MinorVersion=”0”>
<AS>
<Naming>
<AS>3</AS>
</Naming>
<BGPEntity>
<NeighborTable>
<Neighbor>
<Naming>
<IPAddress>
<IPV4Address>10.0.101.9</IPV4Address>
</IPAddress>
</Naming>
</Neighbor>
</NeighborTable>
</BGPEntity>
</AS>
</BGP>
</Configuration>
</Delete>
</Request>
Sample XML Response from the Cisco CRS-1 Series Router
<?xml version="1.0" encoding="UTF-8"?>
<Response MajorVersion="1" MinorVersion="0">
<Delete>
<Configuration/>
</Delete>
</Response>
Vista de pagina 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 ... 131 132

Comentarios a estos manuales

Sin comentarios