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

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

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

REST API: DELETE Example

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

  • No labels