Download User Defaults (Customer Presets) Command; Bkprst Status Command - Cisco D9800 Reference Manual

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

Advertisement

Download User Defaults (Customer Presets) Command

Download User Defaults (Customer Presets) Command
Table 4: Command Details
Command Detail
Command URL
Command Information
HTTP Method
Access Type
Access Level
Options: N/A
Example of issuing the restore user defaults command (assuming the filename is UD9800.bkp):
Input:
curl -k -i –H "X-SESSION-ID: $token" -X POST -F
restorefile=@"C:/projects/d9800/UD9800.bkp" "https://192.168.0.1/restore_upload.html"
Expected output:
<html><body></body></html>
The XML response is immediate and does not indicate that the restore command operation is completed.
The progress and results of the Restore command may be determined by calling the BKPRSTSTAT command
every few seconds until it reports that the file restore is completed at 100 percent, or that it was aborted due
to any possible error.
This operation may take over one minute, depending on the amount of data to validate and restore.

BKPRST Status Command

Table 5: Command Details
Command Detail
Command URL
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
14
Description
-F restorefile=@"ud_file_path/ud_file_name"
"https://192.168.0.1/restore_upload.html"
Download customer presets (user defaults) onto the device. This
command is a variation of the Restore command. The XML format
of the ud_file_name determines whether to change the user defaults
data.
To make the user defaults data persistent, this command must be
followed by a Factory Reset command (see
Command, on page
272).
POST
Write
Guest, User, Admin
Description
https://192.168.0.1/ws/v1/table?t=BKPRSTSTAT
API Definitions
Reset Device Control

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents