EasyManuals Logo

Cisco D9800 User Manual

Cisco D9800
294 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 #33 background imageLoading...
Page #33 background image
Connection: keep-alive
Transfer-Encoding: chunked
Content-type: application/xml
<?xml version="1.0" encoding="ISO-8859-1"
?><devicectl><download><settings><dlmode>Always</dlmode><dlhttpchunk>Enabled</dlhttpchunk></settings></download></devicectl>
Input (JSON case):
curl -i -k -H "X-SESSION-ID: $token" "http://192.168.0.1/ws/v2/device_ctl/download&js"
Expected output (Full HTTP response must be checked for 200 OK):
HTTP/1.1 200 OK
Date: Mon, 25 Sep 2017 13:39:30 GMT
Server: Hiawatha v10.3
Connection: keep-alive
Transfer-Encoding: chunked
Content-type: application/json
{
"devicectl": {
"download": {
"settings": {
"dlmode": "Always",
"dlhttpchunk": "Enabled"
}
}
}
}
Logic for interpreting the command response:
If the HTTP response is 200 (OK):
{
the client software must check the dlhttpchunk value.
if the dlhttpchunk value is Enabled
{
the client code may use the Chunky CDT Upload command.
}
else
{
the client software must use the Legacy CDT Upload command.
}
}
else
{
the client software must use the Legacy CDT Upload command.
}
Upload Software License File Command
Table 10: Command Details
DescriptionCommand Detail
-F cdtfile=@"lic_file_path/lic_file_name"
"https://192.168.0.1/cdt_upload.html"
Command URL
Software license files can be uploaded to the unit, the same as a
CDT file.
Command Information
POSTHTTP Method
WriteAccess Type
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
21
API Definitions
Upload Software License File Command

Table of Contents

Other manuals for Cisco D9800

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco D9800 and is the answer not in the manual?

Cisco D9800 Specifications

General IconGeneral
BrandCisco
ModelD9800
CategoryReceiver
LanguageEnglish

Related product manuals