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

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

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

REST API: DELETE Example

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

  • No labels