|
Parameter | Presence | Type | Default | Description | |
---|---|---|---|---|---|
name | M | string | The name of the trap target. | ||
fqdn | O | string | The FQDN of this trap target. | ||
ipAddress | O | ip-address | The IP address of this trap target. | ||
port | O | uint16 | 162 | The port number for SNMP traps. | |
trapType | O | enumeration | v2 | The type of the trap sent to the target. | |
targetUsername | O | string | admin | Trap target SNMPv3 Security Name. | |
targetSecurityLevel | O | enumeration | authPriv | Trap target SNMPv3 Security Level. | |
state | O | enumeration | disabled | The configured state of the trap target entry. |
Parameter | Description | |
---|---|---|
ipAddressEntry |
RESTCONF API: GET Example |
---|
curl -kisu 'admin:secret' -X GET https://{SBX-SERVER}/restconf/data/sonusOrca:oam/snmp/trapTarget={name} |
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 ' |
RESTCONF API: DELETE Example |
---|
curl -kisu 'admin:secret' -X DELETE https://{SBX-SERVER}/restconf/data/sonusOrca:oam/snmp/trapTarget={name} |