Reference Guide

Table Of Contents
RESTCONF
endpoint
/restconf/data/interfaces/interface/port-channel20
JSON content
{
"interface": [{
"name": "port-channel20",
"lag-mode": "DYNAMIC",
"member-ports": [{
"name": "ethernet1/1/5",
"lacp-mode": "ACTIVE"
}]
}]
}
Parameters
port-channelid-number Enter port-channelid-number, where id-number is from 1 to
128.
name string Enter port-channelid-number.
lag-mode bool Enter DYNAMIC for a dynamically configured port channel; enter STATIC for a
statically configured port channel.
ethernet-interface Enter the physical Ethernet interface in the format ethernetnode/
slot/port.
lacp-mode mode Enter the LACP actor mode. Valid values are active, on, and passive.
Example
curl -X PATCH -k -u admin:admin -H "accept: application/json"
-H "Content-Type: application/json"
"https://10.11.86.113/restconf/data/interfaces/interface/port-channel20"
-d '{"interface": [{"name":"port-channel20", "lag-mode":"DYNAMIC",
"member-ports":[{"name":"ethernet1/1/5", "lacp-mode":"ACTIVE"}]}]}'
Configure minimum links in port channel
RESTCONF
endpoint
/restconf/data/interfaces/interface/port-channel10
JSON content
{
"interface": [{
"name": "port-channel10",
"min-links": 5
}]
}
Parameters
port-channelid-number Enter port-channelid-number, where port-channel id-
number is from 1 to 128.
name string Enter port-channelid-number.
min-links number Enter the minimum number of port-channel links that must be in an
operational up status for the port channel to be operationally up.
Example
curl -X PATCH -k -u admin:admin -H "accept:application/json"
-H "Content-Type:application/json"
"https://10.11.86.113/restconf/data/interfaces/interface/port-channel10"
-d '{"interface": [{"name":"port-channel10", "min-links":5}]}'
Assign IP address to port channel
RESTCONF
endpoint
/restconf/data/interfaces/interface/port-channel10
JSON content
{
"interface": [{
"name": "port-channel10",
"dell-ip:ipv4": {
"address": {
"primary-addr": "1.1.1.1/24"
RESTCONF API 759