Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

REST API Method: PUT /rest/snmptargetaddress/{identifier}

Page Tree
rootResource - snmptargetaddress

Creates a SNMP Management Addresses Table given a specific Table ID.

Info

The

...

SBC Edge Portfolio allows you to define up to 10 SNMP management addresses.

URL:

https://

...

192.

...

168.

...

0.

...

111/rest/snmptargetaddress/{identifier}

HTTP Method

PUT

Requires Authentication:

true

Noprint
Panel
bgColortransparent
titleBGColor#DDD
title[snmptargetaddress - REST API Methods|Resource - snmptargetaddress]

Page Tree
root@parent

Parameters

Parameter Name Required Service Affecting Data Type Default Value Possible Values Description
sCommType

...

NoNoEnum

...

1Possible values:
  • 0 - snmpCommNone
  • 1 - snmpReadOnly
  • 2 - snmpreadWrite
SNMP community type

...

. Only 'snmpReadOnly' is supported.
snmpCommunityYesNostringnone128 - Max Length SNMP community used for communicating with the manager.
snmpMgrAddrYesNostringnone256 - Max Length SNMP manager address(IP address or FQDN)
snmpTrapEnableYesNoint1Possible values:
  • 0 - Minimum
  • 1 - Maximum
Indicates if this manager accepts the traps. Default set to enabled(1), but can be disabled(0).

Usage Example: (about cURL | requires a session token)

Code Block
languagebash
curl --cookie PHPSESSID=cuc2h83fqaispmu6m519sa5642 -s -k -i https://134.56.72.218/rest/snmptargetaddress/1 -X PUT --data "snmpTrapEnable=1&ConfigIEState=1&sCommType=1&snmpMgrAddr=192.168.99.20&snmpCommunity=public"

Response:

...

languagehtml/xml

...

snmpVersionYesNoEnum0Possible values:
  • 0 - snmpV2
  • 1 - snmpV3
SNMP version to use for this SNMP manager.
usmUsernameYesNostringnone32 - Max LengthUSM username for SNMP v3 Manager.
authProtocolYesNoEnum2Possible values:
  • 0 - authNone
  • 1 - authMD5
  • 2 - authSHA1
Authorization Protocol for this SNMP manager.
EncryptedAuthPassphraseYesNostringnone128 - Max LengthAuthorization passphrase for this SNMP manager.
privProtocolYesNoEnum1Possible values:
  • 0 - privNone
  • 1 - privAES128
Privacy Protocol for this SNMP manager.
EncryptedPrivPassphraseYesNostringnone128 - Max LengthPrivacy passphrase for this SNMP manager.