Cisco D9800 Reference Manual page 166

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

Advertisement

Input Configuration Command
Example 1: Changing one MOIP Tuning Parameter
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. You must
change the IP to the specific unit IP in use. This example changes the freqmode of MOIP stream 1 to NIT.
curl -X POST -i -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https://192.168.0.1/ws/v2/service_cfg/input/moip?stream=1&freqmode=NIT"
If successful, the return body will be:
"response": {
}
Example 2: Changing multiple MOIP 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. You must
change the IP to the specific unit IP in use. This example changes several MOIP stream 1 tuning parameters.
It will set the freqmode to NIT, sdten to Yes, paten to Yes and niten to No.
curl -X POST -i
"https://192.168.0.1/ws/v2/service_cfg/input/moip?stream=1&paten=Yes&sdten=Yes&freqmode=NIT&niten=No"
If successful, the return body will be:
"response": {
}
GET Examples:
Example 3: GET the full MOIP tuning values for a specific MOIP stream
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. You must
change the IP to the specific unit IP in use. This example retrieves all of the MOIP tuning settings for MOIP
stream 1.
Note
The user must always specify the stream number in the URI.
curl -X GET -i
"https://192.168.0.1/ws/v2/service_cfg/input/moip?stream=1"
If successful, the return body will be:
"input": {
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
154
"code": "10",
"result": "success",
"message": ""
-H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"code": "10",
"result": "success",
"message": ""
-H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"moip": {
"stream": "1",
"act": "Yes",
"ipmode": "SW Map",
"fecmode": "None",
"usemcast": "Yes",
"mcastaddr": "225.1.1.1",
"tsdestport": "49152",
"feccolport": "49154",
"fecrowport": "49156",
"usrsrcaddr": "Yes",
"srcfltmode": "None",
"dejalg": "VBR",
"acqmode": "Basic",
"netid": "1",
"freqmode": "NIT",
"svclstmode": "Rigorous",
"niten": "No",
"sdten": "Yes",
API Definitions

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents