Skip to main content

PATCH – Enable the SNMPv3 trap

Request URL

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

Request body

FieldTypeDescription
SNMPTraps/ProtocolEnabledBoolean

To enable SNMPv3 trap or not.

SNMPTraps/PortNumber

The port of trap receiver.

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

{
"SNMPTraps": {
"ProtocolEnabled": true,
"Port": 162
}
}