Cisco D9800 Reference Manual page 212

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

Advertisement

Output Configuration Command
URI Argument
fec_rowport
Note
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.
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
Note
command below (due to having to place level 1 parameter followed by level 2 followed by ipoid followed
by optional arguments).
curl -X GET -i
"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):
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
200
Description
FEC Rows UDP Port
Type: Integer
Values: 1..65534
-H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"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",
API Definitions

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents