Western Digital Ultrastar ScaleUp SE4U102 User Manual page 234

Table of Contents

Advertisement

User Guide
-H 'Content-Type: application/json'
-d '
{
}
'
For example:
curl -X PATCH -sku admin:admin https://10.206.144.81/redfish/v1/Systems/
Self/EthernetInterfaces/IOModuleAFRU -H 'Content-Type: application/
json' -d '{"IPv4Addresses": [{"Address": "10.206.144.82", "SubnetMask":
"255.255.248.0", "AddressOrigin": "Static", "Gateway": "10.206.144.1"}]}'
Step 2 : Issue a GET request to the same resource, and review the response to confirm that the IP
address details were set properly:
curl -X GET -u admin:admin https://10.206.144.81/redfish/v1/Systems/Self/
EthernetInterfaces/IOModuleAFRU
{
"@odata.context": "/redfish/v1/
$metadata#EthernetInterface.EthernetInterface",
"@odata.id": "/redfish/v1/Systems/Self/EthernetInterfaces/IOModuleA",
"@odata.type": "#EthernetInterface.v1_2_0.EthernetInterface",
"Name": "IOM A Ethernet Interface",
"Id": "IOModuleA",
"LinkStatus": "LinkUp",
"PermanentMACAddress": "00:0C:CA:08:38:88",
"SpeedMbps": 1000,
"HostName": "oobm-00:0C:CA:08:38:88",
"FQDN": "oobm-00:0C:CA:08:38:88.\n",
"FullDuplex": "true",
"IPv4Addresses": [
],
"NameServers": [],
"Oem": {
}
}
"IPv4Addresses": [
{
"Address": "<ip_address>",
"SubnetMask": "<subnet_mask>",
"AddressOrigin": "Static",
"Gateway": "<gateway_ip>"
}
]
{
"Address": "10.206.144.81",
"SubnetMask": "255.255.248.0",
"AddressOrigin": "Static",
"Gateway": "10.206.144.1"
}
"WDC": {
"Copyright": "Copyright © 2017-2021 Western Digital Corporation"
}
4. Management
4.5 OOBM Management Overview
218

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ultrastar data1021ex1231

Table of Contents