Protocol Device Control
Table 230: Command Details
DescriptionCommand Detail
https://192.168.0.1/ws/v2/device_ctl/protocolsCommand URL
Allows getting and setting device controls for protocols such as
HTTP, SNMP, IGMP, and so on.
Command Information
GET, POSTHTTP Method(s)
Read, WriteAccess Type
User, AdminAccess Level
All protocol device control info:
GET "https://192.168.0.1/ws/v2/device_ctl/protocols"
Single protocol device control item:
GET "https://192.168.0.1/ws/v2/device_ctl/protocols?http"
GET Syntax
Change SNMP protocol configuration:
POST
"https://192.168.0.1/ws/v2/device_ctl/protocols?snmp=Enable"
Change IGMP protocol configuration:
POST
"https://192.168.0.1/ws/v2/device_ctl/protocols?igmp=Disable"
POST Syntax
Only HTTP data body is supported.
POST from XML/JSON file is not
supported.
Table 231: URI Query/Set Arguments (possible fields and values preceded by ? and separated by &)
DescriptionURI Argument
HTTP Protocol Control
Type: String
Value: Disable, HTTP, HTTPS
http
SNMP Protocol Control
Type: String
Value: Disable, Enable
snmp
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
274
API Definitions
Protocol Device Control