Legacy Cdt Upload Command - Cisco D9800 Reference Manual

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

Advertisement

API Definitions
Command Detail
Command Information
HTTP Method
Access Type
Access Level
Example of issuing the BKPRST status command:
Input:
curl -k -H "X-SESSION-ID: $token" https://192.168.0.1/ws/v1/table?t=BKPRSTSTAT
Expected output (example only, subject to change):
<?xml version="1.0" encoding="ISO-8859-1" ?><HDR><TABLE><RECORD><ITEM>
<ID>0x002D1247</ID><VALUE><![CDATA[file name]]></VALUE>
<HELP_STR_1><![CDATA[Filename of the last backup performed]]></HELP_STR_1>
<HELP_STR_2><![CDATA[This text field can hold 119 characters.]]></HELP_STR_2></ITEM>
<ITEM><ID>0x002D1248</ID><VALUE><![CDATA[2007/11/17 21:06:53]]></VALUE>
<HELP_STR_1><![CDATA[Date and time of the last backup performed]]></HELP_STR_1>
<HELP_STR_2><![CDATA[Item attribute: min(), max(2900/12/31 23:59:59).]]></HELP_STR_2></ITEM>
<ITEM><ID>0x002D1249</ID><VALUE><![CDATA[file name]]></VALUE>
<HELP_STR_1><![CDATA[Filename of the last restore performed]]></HELP_STR_1>
<HELP_STR_2><![CDATA[This text field can hold 119 characters.]]></HELP_STR_2></ITEM>
<ITEM><ID>0x002D124A</ID><VALUE><![CDATA[2007/09/10 01:57:23]]></VALUE>
<HELP_STR_1><![CDATA[Date and time of the last restore performed]]></HELP_STR_1>
<HELP_STR_2><![CDATA[Item attribute: min(), max(2900/12/31 23:59:59).]]></HELP_STR_2></ITEM>
<ITEM><ID>0x002D124B</ID><VALUE><![CDATA[Pass]]></VALUE>
<HELP_STR_1><![CDATA[Indicates whether the most recent operation passed, failed,
or is in progress]]></HELP_STR_1>
<HELP_STR_2><![CDATA[This item has 3 options available.]]></HELP_STR_2></ITEM>
<ITEM><ID>0x002D124C</ID><VALUE><![CDATA[Idle]]></VALUE>
<HELP_STR_1><![CDATA[State of the current backup or restore operation]]></HELP_STR_1>
<HELP_STR_2><![CDATA[This item has 21 options available.]]></HELP_STR_2></ITEM>
<ITEM><ID>0x002D124D</ID><VALUE><![CDATA[0]]></VALUE>
<HELP_STR_1><![CDATA[Progress of the current backup or restore operation as a
percent]]></HELP_STR_1>
<HELP_STR_2><![CDATA[Item attribute: min(0), max(100), step size(1), unit()]]></HELP_STR_2>
</ITEM></RECORD></TABLE></HDR>
Note
See the notes in the backup and restore commands for more information on intended use. See
Command, on page 11

Legacy CDT Upload Command

Table 6: Command Details
Command Detail
Command URL
Command Information
Description
Return information about Backup/Restore Status.
GET
Read
User, Admin
and
Restore Command, on page
Description
-F cdtfile=@"cdt_file_path/cdt_file_name"
"https://192.168.0.1/ws/v1/cdt_upload.html"
Upload a CDT file to the device.
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
Legacy CDT Upload Command
13.
Backup
15

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents