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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 132
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 26
2-27
Cisco CRS-1 Series Carrier Routing System XML API Guide
OL-4596-02
Chapter 2 Cisco CRS-1 Series XML Router Configuration and Management
Configuration Operations
</Configuration>
</Get>
</Response>
Browsing the Changed Configuration
When a client application issues a <Get> request with a Source type of ChangedConfig, the response
contains the OperationType attribute to indicate whether the returned changes to the target configuration
were a result of <Set> or <Delete> operations.
Use <Get> to browse uncommitted target configuration changes.
The following example shows <Set> and <Delete> operations that modify the BGP configuration
followed by a <Get> request to browse the uncommitted BGP configuration changes. These requests
correspond to the following CLI commands:
router /jointfilesconvert/476768/bgp 3
default-metric 10
no neighbor 10.0.101.8
exit
show config
Sample XML to Modify the BGP Configuration
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
<Set>
<Configuration>
<BGP MajorVersion="1" MinorVersion="0">
<AS>
<Naming>
<AS>3</AS>
</Naming>
<Global>
<DefaultMetric>10</DefaultMetric>
</Global>
</AS>
</BGP>
</Configuration>
</Set>
<Delete>
<Configuration>
<BGP>
<AS>
<Naming>
<AS>3</AS>
</Naming>
<BGPEntity>
<NeighborTable>
<Neighbor>
<Naming>
<IPAddress>
<IPV4Address>10.0.101.8</IPV4Address>
</IPAddress>
</Naming>
</Neighbor>
</NeighborTable>
</BGPEntity>
</AS>
</BGP>
</Configuration>
Vista de pagina 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 131 132

Comentarios a estos manuales

Sin comentarios