Cisco D9800 Reference Manual page 287

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

Advertisement

API Definitions
URI Argument
igmp
syslog
slogsrvip
slogsrvprt
mpe
idletimeout
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>
Description
IGMP Protocol Control
Type: String
Value: Disable, Enable
Syslog Mode of Operation
Type: String
Value: Disable, Syslog TCP, Syslog UDP
Syslog Server IP Address
Type: String
Value: IP address, for example, 0.0.0.0
Syslog Server Port
Type: Digit
Value: IP port, for example, 514
MPE Data Filter Mode
Type: String
Value: Fwd None, Fwd All, Fwd Filtered
Protocol Idle Timeout
Type: Digit
Value: 0, 30 ~ 1209600 inclusive
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.
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
Protocol Device Control
275

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents