Cisco CRS-1 - Carrier Routing System Router Especificações Página 57

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 132
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 56
4-57
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
<BGP MajorVersion=”1” MinorVersion=”0”>
<AS>
<Naming>
<AS>1</AS>
</Naming>
<Global>
<GlobalTimers>
<Keepalive>60</Keepalive>
<Holdtime>180</Holdtime>
</GlobalTimers>
</Global>
</AS>
</BGP>
</Configuration>
</Get>
</Response>
Native Data Operation Examples
These sections provide examples of the basic <Set>, <Get>, and <Delete> operations:
Set Configuration Data Request: Example, page 4-57
Get Request: Example, page 4-58
Get Request of Nonexistent Data: Example, page 4-60
Delete Request: Example, page 4-61
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 /jointfilesconvert/476768/bgp 3
neighbor 10.0.101.6
remote-as 6
e/jointfilesconvert/476768/bgp-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
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">
<Set>
<Configuration>
<BGP MajorVersion="1" MinorVersion="0">
<AS>
<Naming>
<AS>3</AS>
</Naming>
Vista de página 56
1 2 ... 52 53 54 55 56 57 58 59 60 61 62 ... 131 132

Comentários a estes Manuais

Sem comentários