Resources | oam | snmp | communityString

communityString

This table contains SNMP community strings used in a SNMP request.

Configuration

ParameterPresenceTypeDefaultDescription
snmpCommunityIndexMstringA unique name identifying the community string
snmpCommunityNameMstringCommunity String used for SNMP requests.
RESTCONF API: GET Example

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

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 '
<communityString>
     <snmpCommunityIndex>{snmpCommunityIndex}</snmpCommunityIndex>
     <snmpCommunityName>{snmpCommunityName}</snmpCommunityName>
</communityString>
'

RESTCONF API: DELETE Example

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

  • No labels