POST - Create SNMPv3 Trap User
Create a SNMPv3 Trap User for Redfish service by HTTP POST method.
Request URL
POST https://<BMC_IPADDR>/redfish/v1/Managers/1/NetworkProtocol/Oem/Lenovo/SNMP/SNMPv3TrapUsers/
Request body
Field | Type | Description | ||
---|---|---|---|---|
UserName | String | The new user name for the account. | ||
AuthenticationProtocol | String | None, HMAC_SHA96, HMAC128_SHA224, HMAC192_SHA256, HMAC256_SHA384, HMAC384_SHA512 | ||
AuthenticationKey | String | This property shall contain the key for SNMPv3 authentication.
Note Should be empty if | ||
EncryptionProtocol | String | None, CBC_DES, CFB128_AES128, AES192, AES256, AES192C, AES256C | ||
EncryptionKey | String | This property shall contain the key for SNMPv3 encryption.
Note Should be empty if | ||
AuthenticationKeySet | Boolean | Indicates if the AuthenticationKey property is set. | ||
EncryptionKeySet | Boolean | Indicates if the EncryptionKey property is set. | ||
Addresses | Array | Length: 1~3 Item should be an IP address or Domain or empty string. Should contain at least one valid IP address or Domain. |
Response body
It responds the created subscription resource, refer the response body of Event subscription with GET method.
Status code
HTTP Status Code | Error Message ID |
---|---|
201 | Created |
400 | BadRequest, PropertyValueNotInList |
500 | InternalError |