Cisco D9800 Reference Manual page 285

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

Advertisement

API Definitions
Table 228: Level_1 URI Parameters (extension to the Command URL separated by /)
URI Parameter
factory
reboot
Table 229: URI Query/Set Arguments (possible fields and values preceded by ? and separated by &)
URI Argument
js
POST Method Examples:
Factory Reset or Reboot the unit.
Factory reset:
curl -k -X POST -H "X-SESSION-ID: $token"
"https://192.168.0.1/ws/v2/device_ctl/reset/factory?js=1"
If successful, the following is an example of the return body:
"response": {
}
Reboot:
curl -k -X POST -H "X-SESSION-ID: $token"
"https://192.168.0.1/ws/v2/device_ctl/reset/reboot?js=1"
If successful, the following is an example of the return body:
"response": {
}
The system will reboot successfully to the same version (after about 1 minute).
"code": "10",
"result": "success",
"message": ""
"code": "10",
"result": "success",
"message": ""
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
Reset Device Control Command
Description
Do a factory reset.
Reboot the unit.
Description
Format output using JSON standard
Type: exist
Values: any value or empty (any of js=1, js, js=0, or
js=9999 are valid)
Omitting this argument formats the output by default
in XML.
273

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents