Creates a SNMP Management Addresses Table given a specific Table ID.
The Sonus SBC 1000/2000 system allows you to define up to 10 SNMP management addresses.
https://134.56.227.163/rest/snmptargetaddress/{identifier}
PUT
true
Parameter Name | Required | Service Affecting | Data Type | Default Value | Possible Values | Description |
---|---|---|---|---|---|---|
sCommType | Yes | No | Enum | 0 | Possible values:
| SNMP community type, if it is read only or read/write. |
snmpCommunity | Yes | No | string | none | 128 - Max Length | SNMP community used for communicating with the manager. |
snmpMgrAddr | Yes | No | string | none | 256 - Max Length | SNMP manager address(IP address or FQDN) |
snmpTrapEnable | Yes | No | int | 1 | Possible values:
| Indicates if this manager accepts the traps. Default set to enabled(1), but can be disabled(0). |
curl --cookie PHPSESSID=fsqgefadjojefv6lmdtij6lh44 -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"
<?xml version="1.0"?> <root> <status> <http_code>200</http_code> </status> <snmptargetaddress id="1" href="https://134.56.72.218/rest/snmptargetaddress/1"> <sCommType>1</sCommType> <snmpCommunity>public</snmpCommunity> <snmpMgrAddr>192.168.99.20</snmpMgrAddr> <snmpTrapEnable>1</snmpTrapEnable> </snmptargetaddress> </root>