Resources | oam | snmp | trapTarget

trapTarget

The name of the trap target.

Configuration

ParameterPresenceTypeDefaultDescription
nameMstring The name of the trap target.
fqdnOstring The FQDN of this trap target.
ipAddressOip-address The IP address of this trap target.
portOuint16162 The port number for SNMP traps.
trapTypeOenumerationv2 The type of the trap sent to the target.
targetUsernameOstringadmin Trap target SNMPv3 Security Name.
targetSecurityLevelOenumerationauthPriv Trap target SNMPv3 Security Level.
stateOenumerationdisabled The configured state of the trap target entry.

Operational Data

ParameterDescription
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 '
<trapTarget>
     <name>{name}</name>
</trapTarget>
'

RESTCONF API: DELETE Example

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

  • No labels