EasyManuals Logo
Home>Cisco>Network Router>CRS-1 - Carrier Routing System Router

Cisco CRS-1 - Carrier Routing System Router Api Guide

Cisco CRS-1 - Carrier Routing System Router
127 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #80 background imageLoading...
Page #80 background image
6-80
Cisco CRS-1 Series Carrier Routing System XML API Guide
OL-4596-01
Chapter 6 Cisco CRS-1 Series XML and Encapsulated CLI Operations
XML CLI Command Tags
The following example uses the <CLI> operation tag:
Sample XML Client Request for CLI Command Using CLI Tags
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
<CLI>
<Configuration>
router bgp 3
default-metric 10
timers bgp 80 160
exit
show config
</Configuration>
</CLI>
</Request>
Sample XML Response from the Cisco CRS-1 Series Router
<?xml version="1.0" encoding="UTF-8"?>
<Response MajorVersion="1" MinorVersion="0">
<CLI>
<Configuration>
Building configuration...
router bgp 3
default-metric 10
timers bgp 80 160
end
</Configuration>
</CLI>
</Response>
CLI Command Limitations
The initial CLI command support through XML is limited to CLI configuration and subsequent
responses wrapped in <CLI> tags.
The following conditions are not supported:
<Operational> namespace commands
<Action> namespace commands
Sending a request in <CLI> format and getting back an XML encoded response
Sending an XML encoded request and getting back a response in <CLI> format
“Long running” commands, for example, “ping” and “top.”

Table of Contents

Other manuals for Cisco CRS-1 - Carrier Routing System Router

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco CRS-1 - Carrier Routing System Router and is the answer not in the manual?

Cisco CRS-1 - Carrier Routing System Router Specifications

General IconGeneral
BrandCisco
ModelCRS-1 - Carrier Routing System Router
CategoryNetwork Router
LanguageEnglish

Related product manuals