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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 132
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 77
5-78
Cisco CRS-1 Series Carrier Routing System XML API Guide
OL-4596-02
Chapter 5 Cisco CRS-1 Series XML and Native Data Access Techniques
Available Set of Native Data Access Techniques
In the following example, the filter <BGP_ASFilter> is used to retrieve operational information for all
neighbors in autonomous system 6:
Sample XML Client Request Using Filtering
<?xml version=”1.0” encoding=”UTF-8”?>
<Request MajorVersion="1" MinorVersion="0">
<Get>
<Operational>
<BGP MajorVersion=”1” MinorVersion=”0”>
<NeighborTable>
<Filter>
<BGP_ASFilter>
<AS>6</AS>
</BGP_ASFilter>
<Filter>
</NeighborTable>
</BGP>
</Operational>
</Get>
</Request>
Sample Filtered XML Response from the Cisco CRS-1 Series Router
<?xml version=”1.0” encoding=”UTF-8”?>
<Response MajorVersion="1" MinorVersion="0">
<Get>
<Operational>
<BGP MajorVersion=”1” MinorVersion=”0”>
<NeighborTable>
<Filter>
<BGP_ASFilter>
<AS>6</AS>
</BGP_ASFilter>
</Filter>
<Neighbor>
.
.
.
data for 1st neighbor returned here
.
.
.
</Neighbor>
<Neighbor>
.
.
.
data for 2nd neighbor returned here
returned here
.
.
.
</Neighbor>
.
.
.
data for remaining neighbors returned
here
.
.
.
</NeighborTable>
</BGP>
Vista de página 77
1 2 ... 73 74 75 76 77 78 79 80 81 82 83 ... 131 132

Comentários a estes Manuais

Sem comentários