Resources | oam | snmp | users

users

This table is used to define SNMP users for the USM privacy facility.

Configuration

ParameterPresenceTypeDefaultDescription
usernameMstring SNMPv3 SNMP-USER-BASED-SM-MIB usmUserName and usmUserSecurityName.
groupOenumerationadmin SNMPv3 SNMP-VIEW-BASED-ACM-MIB vacmGroupName.
authProtocolOenumerationhmacsha SNMPv3 SNMP-USER-BASED-SM-MIB authentication protocol.
authKeyOhexList SNMPv3 SNMP-USER-BASED-SM-MIB authentication key.
privProtocolOenumerationaes128 SNMPv3 SNMP-USER-BASED-SM-MIB privacy protocol used by user.
privKeyOhexList SNMPv3 SNMP-USER-BASED-SM-MIB privacy key.
REST API: GET Example

curl -kisu 'admin:secret' -X GET https://{SBX-SERVER}/api/config/oam/snmp/users/{username}

REST API: POST Example

curl -kisu 'admin:secret' -X POST -H 'Content-Type: application/vnd.yang.data+xml' https://{SBX-SERVER}/api/config/oam/snmp --data '
<users>
     <username>{username}</username>
</users>
'

REST API: DELETE Example

curl -kisu 'admin:secret' -X DELETE https://{SBX-SERVER}/api/config/oam/snmp/users/{username}

  • No labels