Skip to main content

PATCH – Update BMC network service configurations

Use the PATCH method to update properties in the network protocol resource in a BMC.

Request URL

PATCH https://<BMC_IPADDR>/redfish/v1/Managers/1/NetworkProtocol

Request body

Properties to be updated are shown as bellow, all of these properties can be changed individually.

FieldTypeDescription
HTTPSObject

Settings for this Manager's HTTPS protocol support.

 PortNumber

Indicates the protocol port.

SSHObject

Settings for this Manager's SSH (Secure Shell) protocol support

 ProtocolEnabledBoolean

Indicates if the protocol is enabled or disabled.

 PortNumber

Indicates the protocol port.

VirtualMediaObject

Settings for this Manager's Virtual Media support

 PortNumber

Indicates the protocol port.

IPMIObject

Settings for this Manager's IPMI-over-LAN protocol support.

 ProtocolEnabledBoolean

Indicates if the protocol is enabled or disabled.

SSDPObject

Settings for this Manager's SSDP support.

 ProtocolEnabledBoolean

Indicates if the protocol is enabled or disabled. Fixed value “true”.

NTPObject

Settings for this Manager's NTP support

 NTPServersArray

Items: string

List of NTP servers IP

 ProtocolEnabledBoolean

Indicates if the protocol is enabled or disabled.

SNMPObject

Settings for this Manager's SNMP support

 EnableSNMPv3Boolean

Indicates if access via SNMPv3 is enabled.

 PortNumber

Indicate the protocol port.

DHCPObject

Settings for this Manager's DHCP support

 ProtocolEnabledBoolean

Indicate if the protocol is enabled or disabled.

DHCPv6Object

Settings for this Manager’s DHCPv6 support

 ProtocolEnabledBoolean

Indicate if the protocol is enabled or disabled.

Response

The response returns same content as GET operation with updated properties.

Status code

HTTP STATUS CodeError Message ID
500InternalError

Example

The following example is PATCH body.

{
"HTTPS" : {
"Port" : 445
}
}

The following example JSON response is returned:

{

"@odata.id": "/redfish/v1/Managers/1/NetworkProtocol",
"HTTPS": {
"ProtocolEnabled": true,
"Port": 445,
"Certificates": {
"@odata.id": "/redfish/v1/Managers/1/NetworkProtocol/HTTPS/Certificates"
}
},

}