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.
| Field | Type | Description | |||
|---|---|---|---|---|---|
SSH | Object | Expanded | |||
ProtocolEnabled | Boolean | Indicates if the protocol is enabled or disabled. | |||
Port | Number | Indicates the protocol port. | |||
SSDP | Object | Expanded | |||
ProtocolEnabled | Boolean | Indicates if the protocol is enabled or disabled. | |||
SNMP | Object | Expanded | |||
EnableSNMPv3 | Boolean | Indicates if the SNMP is enabled or disabled. | |||
Port | Number | Indicates the protocol port. | |||
EngineId | Object | The engine ID. | |||
ArchitectureId | String | The architecture identifier. | |||
HTTPS | Object | Expanded | |||
Port | Number | Indicates the protocol port. | |||
DHCP | Object | Expanded | |||
ProtocolEnabled | Boolean | Indicates if the protocol is enabled or disabled. | |||
DHCPv6 | Object | Expanded | |||
ProtocolEnabled | Boolean | Indicates if the protocol is enabled or disabled. | |||
NTP | Object | Expanded | |||
NTPServers | Boolean | Indicates if the protocol is enabled or disabled. Note To remove items in NTPServers, an empty string or null are both acceptable. | |||
Response
The response returns same content as GET operation with updated properties.
Status code
| HTTP STATUS Code | Error Message ID |
|---|---|
| 500 | InternalError |