EasyManua.ls Logo

Cisco D9800 - Page 155

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...
If successful, the return body will be:
"response": {
"code": "10",
"result": "success",
"message": ""
}
Example 2: Changing multiple RF Tuning Parameters
The following example assumes that the user has successfully logged onto the unit, received the session id
and set it to the variable token. In addition, it is assumed that the IP of the unit is 192.168.0.1. Please change
the IP to the specific unit IP in use. This example changes several RF port 3 tuning parameters. It will set the
IQ mode to Normal, sdten to Yes, paten to Yes and niten to No.
curl -X POST i -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https://192.168.0.1/ws/v2/service_cfg/input/rf?port=3&verbose=1&iq=Normal&paten=Yes&sdten=Yes&niten=No"
If successful, the return body will be:
"response": {
"code": "10",
"result": "success",
"message": ""
}
GET Examples
Example 3: GET the full RF tuning values for a specific RF port
The following example assumes that the user has successfully logged onto the unit, received the session id
and set it to the variable token. In addition, it is assumed that the IP of the unit is 192.168.0.1. Please change
the IP to the specific unit IP in use. This example retrieves all of the RF tuning settings for RF port 3. Please
note that the user MUST always specify the port number in the URI.
curl -X GET -i -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https://192.168.0.1/ws/v2/service_cfg/input/rf?port=3"
If successful, the return body will be:
"input": {
"rf": {
"port": "3",
"act": "No",
"dnlkfreq": "12.31",
"symrate": "30.0",
"fec": "Auto",
"mod": "DVB-S2",
"rolloff": ".35",
"iq": "Normal",
"pwr": "Off",
"sel22khz": "Off",
"lo1": "10.75",
"lo2": "0.0",
"xover": "0.0",
"pol": "Horizontal",
"orbpos": "0.0",
"ewflag": "N/A",
"afcrange": "3.0",
"strm1sel": "Yes",
"strm2sel": "No",
"strm3sel": "No",
"strm4sel": "No",
"strm5sel": "No",
"strm6sel": "No",
"acqmode": "Basic",
"netid": "1",
"freqmode": "NIT",
"svclstmode": "Rigorous",
"niten": "No",
"sdten": "Yes",
"paten": "Yes"
}
}
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
143
API Definitions
Input Configuration Command

Table of Contents

Other manuals for Cisco D9800

Related product manuals