Cisco D9800 Reference Manual page 32

Network transport receiver
Hide thumbs Also See for D9800:
Table of Contents

Advertisement

Legacy CDT Upload Command
Table 9: URI Query/Set Arguments (possible fields and values preceded by ? and separated by &)
URI Argument
dlmode (optional)
dlhttpchunk (optional)
(Read Only)
Example (Retrieve Download Feature support using Version 2.75 or earlier):
Input:
curl -i -k -H "X-SESSION-ID: $token" "http://192.168.0.1/ws/v2/device_ctl/download"
Expected output (full HTTP response must be checked, where 200 indicates that command is implemented
and all other numbers indicate older software, where command is not implemented.)
HTTP/1.1 404 Not Found
Date: Mon, 25 Sep 2017 13:30:40 GMT
Server: Hiawatha v10.3
Connection: keep-alive
Transfer-Encoding: chunked
In this case, we always expect the client software to use the Legacy CDT Upload command.
Example (Retrieve Download Feature support using Version 2.75 or later):
Input (XML case):
curl -i -k -H "X-SESSION-ID: $token" "http://192.168.0.1/ws/v2/device_ctl/download"
Expected output (Full HTTP response must be checked for 200 OK):
HTTP/1.1 200 OK
Date: Mon, 25 Sep 2017 13:33:04 GMT
Server: Hiawatha v10.3
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
20
Description
Filter output based on the dlmode value.
Type: String
Values: Always (default), Never, Once
Select how to handle unforced over-air downloads:
• Always - Accept download, but not reboot.
• Once - Accept one download then reboot and change the mode
to Never.
• Never - Reject unforced over-air downloads.
A POST change of this setting will be persistent in non-volatile
memory (after reboots). A Factory Reset will reset this setting to
the default value.
Note
We recommend that you do not change this setting from
its default value.
Inform external tool or curl based command line script if CDT
upload should use the multi-chunk algorithm.
Type: String
Values: Enabled (default), Disabled (for testing only)
This value is read-only and intended only for use by specific internal
tools in Cisco test and manufacturing. It is not used by the D9800
Web UI, which is integrated within the target application software
during fie upload.
API Definitions

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents