Request:
curl -XPATCH -k -u admin https://10.10.10.10/redfish/v1/Managers/CIMC/EthernetInterfaces/NICs
-d'
{
"DHCPv6": {
"OperatingMode": "Disabled",
"UseDNSServers": false
},
"IPv6Addresses": [
{
"Address": "2001:0db8:85a3:0000:0000:8a2e:0370:7334"
}
],
"IPv6StaticDefaultGateways": [
{
"Address": "2001:0db8:85a3:0000:0000:8a2e:0370:2"
}
]
}
Setting Auto Negotiation, Speed, and Duplex
This is not applicable for S3260 M5 servers.
Note
Request:
curl -XPATCH -k -u admin https://10.10.10.10/redfish/v1/Managers/CIMC/EthernetInterfaces/NICs
-d'
{
"AutoNeg": false,
"SpeedMbps": 10,
“FullDuplex": true
}
Setting Hostname
This is not applicable for S3260 M5 servers.
Note
Request:
curl -XPATCH -k -u admin https://10.10.10.10/redfish/v1/Managers/CIMC/EthernetInterfaces/NICs
-d'
{"HostName": "C220-WZP210606A6z"}
Setting DNS
This is not applicable for S3260 M5 servers.
Note
Cisco UCS C-Series Servers REST API Programmer's Guide
129
Cisco IMC REST API Examples
Examples of Server Tasks for 4.0(4)