Description
URI Argument
FEC Rows UDP Port
Type: Integer
Values: 1..65534
fec_rowport
To use this command properly, firstly a level 1 parameter must be specified such as moip (moip1/moip2
on a NTC MS unit) followed by a level 2 parameter which is ipo followed by the ipoid argument that must
be supplied with a value, and only then can the remaining arguments (as below) be used for GET/POST.
In-depth CURL examples follow below.
Note
POST Examples:
Example 1: Set Various MOIP Output Parameters for a specific Stream (PE)
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 both the MOIP output bitrate to 12.5 and
Time To Live (TTL) to 54 for MOIP stream which belongs to PE4 (in SPTS) mode.
The moip/ipo?ipoid=VAL must be provided before adding the specific arguments as seen in the curl
command below (due to having to place level 1 parameter followed by level 2 followed by ipoid followed
by optional arguments).
Note
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/ipo"
If successful, the return body will be (note that this is a snippet of the full return body):
"output": {
"moip": {
"ipo": [
{
"ipoid": "1",
"iporate": "68.5",
"encaps": "RTP",
"dest_ip": "225.1.1.101",
"dest_port": "49152",
"toc": "0",
"ttl": "64",
"src_port": "0",
"ann_type": "None",
"ann_src": "User String",
"ann_title": "Cisco Default SAP1_1",
"fec_mode": "2D",
"fec_col": "4",
"fec_row": "10",
"fec_colport": "49154",
"fec_rowport": "49156"
},
{
"ipoid": "2",
"iporate": "18.0",
"encaps": "RTP",
"dest_ip": "168.0.169.34",
"dest_port": "49152",
"toc": "0",
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
200
API Definitions
Output Configuration Command