Cisco CRS-1 - Carrier Routing System Router Spécifications Page 97

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 132
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 96
9-97
Cisco CRS-1 Series Carrier Routing System XML API Guide
OL-4596-02
Chapter 9 Cisco CRS-1 Series XML Schema Versioning
Run-Time Use of Version Information
Placement of Version Information
The following example shows the placement of the MajorVersion and MinorVersion attributes within a
client request to retrieve the global BGP configuration data for a specified autonomous system:
Sample Client Request Showing Placement of Version Information
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
<Get>
<Configuration>
<BGP MajorVersion=”1” MinorVersion=”0”>
<AS>
<Naming>
<AS>3</AS>
</Naming>
<Global/>
</AS>
</BGP>
</Configuration>
</Get>
</Request>
Sample Response from the Cisco CRS-1 Series Router
<?xml version="1.0" encoding="UTF-8"?>
<Response MajorVersion="1" MinorVersion="0">
<Get>
<Configuration>
<BGP MajorVersion=”1” MinorVersion=”0”>
<AS>
<Naming>
<AS>3</AS>
</Naming>
<Global>
.
.
.
data returned here
.
.
.
</Global>
<AS>
</BGP>
</Configuration>
<Get>
</Response>
Version Lag
The following example shows a request and response with a version mismatch. In this case, the client
minor version is behind that of the router, so the request is attempted.
Note The version number, which is returned in the response, is the version number running on the router.
Vue de la page 96
1 2 ... 92 93 94 95 96 97 98 99 100 101 102 ... 131 132

Commentaires sur ces manuels

Pas de commentaire