Reference Guide

Table Of Contents
}
}
}]
}
Parameters
port-channelid-number Enter port-channelid-number, where id-number is from 1 to
128.
name string Enter port-channelid-number.
primary-addr A.B.C.D/prefix-length Enter the port-channel IP address and mask.
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", "dell-ip:ipv4":
{"address":{"primary-addr":"1.1.1.1/24"}}}]}'
Configure load balancing
RESTCONF
endpoint
/restconf/data/load-balancing/ip-selection
JSON content
{
"ip-selection": [{
"destination-ip": "true",
"source-ip": "true"
}]
}
Parameters
destination-ip bool Enter true to use the destination IP address or the source IP address
in the hash calculation; enter false to not use the destination IP address or the source IP address.
Example
curl -X PATCH -k -u admin:admin -H "accept: application/json"
-H "Content-Type: application/json"
"https://10.11.86.113/restconf/data/load-balancing/ip-selection"
-d '{"ip-selection": [{"destination-ip":"true", "source-ip":"true"}]}'
Change the hash algorithm
RESTCONF
endpoint
/restconf/data/hash-algorithm/lag-algorithms
JSON content
{
"lag-algorithms": "xor"
}
Parameters
lag-algorithms mode Enter the LAG algorithm. Valid values are crc, xor, and seed.
Example
curl -X PATCH -k -u admin:admin -H "accept: application/json"
-H "Content-Type: application/json"
"https://10.11.86.113/restconf/data/hash-algorithm/lag-algorithms"
-d '{"lag-algorithms":"xor"}'
Display port-channel configuration
RESTCONF
endpoint
/restconf/data/interfaces/interface/port-channel10
JSON content None
Parameters
port-channelid-number Enter port-channelid-number, where id-number is from 1 to
128.
760 RESTCONF API