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.
RESTCONF API: GET Example

curl -kisu 'admin:secret' -X GET https://{SBX-SERVER}/restconf/data/sonusOrca:oam/snmp/users={username}

RESTCONF API: POST Example

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

RESTCONF API: DELETE Example

curl -kisu 'admin:secret' -X DELETE https://{SBX-SERVER}/restconf/data/sonusOrca:oam/snmp/users={username}

  • No labels