Cisco D9800 Reference Manual page 204

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

Advertisement

Output Configuration Command
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 returns the full MOIP Output settings.
curl -X GET -i -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https://192.168.0.1/ws/v2/service_cfg/output/moip"
If successful, the return body will be (please note this is a snippet of the full return body):
"output": {
]
}
This is the same example being executed on a NTC MS unit:
curl -X GET -i -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https://192.168.0.1/ws/v2/service_cfg/output/moip1"
Example 3: Get specific MOIP Output Settings
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 returns the specific MOIP Output setting of the
descrambled mode (dscrmode) and Output Mode (mode) parameters.
Note
For GET arguments do not supply values.
curl -X GET -i -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https://192.168.0.1/ws/v2/service_cfg/output/moip?&dscrmode&mode"
If successful, the return body will be:
"output": {
}
}
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
192
"moip": {
"mode": "No Output",
"dscrmode": "Descrambled",
"ratemode": "User",
"rate": "68.5",
"insertnul": "Yes",
"pe": [
{
"peid": "1",
"action": "Drop",
"pmtpid": "8191",
"outchan": "0"
},
{
"peid": "2",
"action": "Drop",
"pmtpid": "8191",
"outchan": "0"
}
}
"moip": {
"dscrmode": "Descrambled",
"mode": "No Output"
}
API Definitions

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents