Description
URI Argument
IGMP Protocol Control
Type: String
Value: Disable, Enable
igmp
Syslog Mode of Operation
Type: String
Value: Disable, Syslog TCP, Syslog UDP
syslog
Syslog Server IP Address
Type: String
Value: IP address, for example, 0.0.0.0
slogsrvip
Syslog Server Port
Type: Digit
Value: IP port, for example, 514
slogsrvprt
MPE Data Filter Mode
Type: String
Value: Fwd None, Fwd All, Fwd Filtered
mpe
Protocol Idle Timeout
Type: Digit
Value: 0, 30 ~ 1209600 inclusive
idletimeout
Format output using JSON standard
Type: exist
Values: any value or empty (ie any of js=1 or js or js=0 or js=9999
are valid)
Omitting this argument formats the output by default in XML.
js
GET Method Examples:
Display protocol control information in XML or JSON.
1
Show all protocol control info in XML:
curl -k -H "X-SESSION-ID: $token" "https://192.168.0.1/ws/v2/device_ctl/protocols"
Expected output (values are for example purposes only):
<?xml version="1.0" encoding="ISO
-
8859
-
1" ?>
<devicectl><protocols><settings><http>HTTPS</http><snmp>Enable</snmp><igmp>Enable</igmp>
<syslog>Syslog UDP</syslog><slogsrvip>0.0.0.0</slogsrvip><slogsrvprt>514</slogsrvprt>
<mpe>Fwd None</mpe><idletimeout>0</idletimeout><globaldns>Enable</globaldns></settings>
</protocols></devicectl>
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
275
API Definitions
Protocol Device Control