Connectivity 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"}}}]}'
Congure load balancing
RESTCONF
endpoint
/restconf/data/load-balancing/ip-selection
JSON content
{
"ip-selection": [{
"destination-ip": "true",
"source-ip": "true"
}]
}
Parameters
destination-ip bool — In the hash calculation, enter true to use the destination IP address or the
source IP address; 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 link aggregation group (LAG) algorithm. 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 conguration
RESTCONF
endpoint
/restconf/data/interfaces/interface/port-channel10
928 RESTCONF API