Cisco D9800 Reference Manual page 278

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

Advertisement

Ethernet Device Control Command
Command Detail
POST Syntax
Setting parameters using
command line arguments is
limited to maximum of 26
arguments after the ?.
For Ethernet ports configuration,
only HTTP data body is
supported. POST from
XML/JSON file is not supported.
Table 222: Level_1 URI Parameters (extension to the Command URL separated by /)
URI Parameter
port
Note
Table 223: URI Query/Set Arguments (possible fields and values preceded by ? and separated by &)
URI Argument
portid (Key)
name (Read-Only)
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
266
Description
Change management port configuration:
POST "https://192.168.0.1/ws/v2/device_ctl/eth/port?
portid=1&ipv4addr=[ipa.ddr.ess.one]"
Where [ipa.ddr.ess.one] = valid ipv4 address on port 1 subnet
If changing the subnet, then the change data port configuration:
POST "https://192.168.0.1/ws/v2/device_ctl/eth/port?
portid=2&ipv4addr=[ipa.ddr.ess.two]"
Where [ipa.ddr.ess.two] = valid ipv4 address on port 2's subnet
All of the URI Arguments below apply to both GET and POST. For GET, the URI arguments do not
need any values, except the index which must be specified. For POST the index must be specified
followed by any of the below URI arguments and the associated value the user would like to set.
In-depth CURL examples can be seen below following the table.
Description
Ethernet Port Identification
Type: digit
Value: 1, 2, 3
Notes: 1 - Management Port
2 – DATA1
3 – DATA2
4 – DATA3
5 – DATA4
Ethernet Port Name
Type: string
Value: control, data1, data2
Description
Indicates that port parameters will be specified.
When the command URL is
https://192.168.0.1/ws/v2/device_ctl/eth/port, then the command line
must also specify the portid URI Query/Set argument and value.
API Definitions

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents