EasyManua.ls Logo

Cisco D9800 - Page 285

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
Loading...
Table 228: Level_1 URI Parameters (extension to the Command URL separated by /)
DescriptionURI Parameter
Do a factory reset.factory
Reboot the unit.reboot
Table 229: URI Query/Set Arguments (possible fields and values preceded by ? and separated by &)
DescriptionURI Argument
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.
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": {
"code": "10",
"result": "success",
"message": ""
}
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": {
"code": "10",
"result": "success",
"message": ""
}
The system will reboot successfully to the same version (after about 1 minute).
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
273
API Definitions
Reset Device Control Command

Table of Contents

Other manuals for Cisco D9800

Related product manuals