EasyManuals Logo

Cisco D9800 User Manual

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
Page #166 background imageLoading...
Page #166 background image
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": {
"code": "10",
"result": "success",
"message": ""
}
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 -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"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": {
"code": "10",
"result": "success",
"message": ""
}
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.
The user must always specify the stream number in the URI.Note
curl -X GET -i -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https://192.168.0.1/ws/v2/service_cfg/input/moip?stream=1"
If successful, the return body will be:
"input": {
"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",
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
154
API Definitions
Input Configuration Command

Table of Contents

Other manuals for Cisco D9800

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco D9800 and is the answer not in the manual?

Cisco D9800 Specifications

General IconGeneral
BrandCisco
ModelD9800
CategoryReceiver
LanguageEnglish

Related product manuals