HomeGuidesAPI Reference
GuidesAPI ReferenceGitHubAirheads Developer CommunityLog In
API Reference

/system/snmp_traps/{SNMP_Trap.vrf},{SNMP_Trap.receiver_address},{SNMP_Trap.receiver_udp_port},{SNMP_Trap.type},{SNMP_Trap.version}

Path Params
string
required

Reference Resource: SNMP_Trap
Specifies which VRF this association should connect with.

string
required

Reference Resource: SNMP_Trap
The IP address of the trap receiver.

string
required

Reference Resource: SNMP_Trap
The UDP port of the trap receiver.

string
enum
required

Reference Resource: SNMP_Trap
Trap - Unacknowledged event/error notification type Inform - Acknowledged event/error notification type

Allowed:
string
enum
required

Reference Resource: SNMP_Trap
Trap/inform version.

Allowed:
Body Params
string
length between 1 and 32

SNMPv1/SNMPv2c community strings. The default community string is "public". If not configured, then the default community string is used.

notification_type
object

The type of notification to be sent to the receiver. If no type is specified, all notifications are sent.

string
required
length ≤ 45

Reference Resource: SNMP_Trap
The IP address of the trap receiver.

integer
required
1 to 65535

Reference Resource: SNMP_Trap
The UDP port of the trap receiver.

string
enum

Reference Resource: SNMP_Trap
Trap - Unacknowledged event/error notification type Inform - Acknowledged event/error notification type

Allowed:
string
enum

Reference Resource: SNMP_Trap
Trap/inform version.

Allowed:
string
required

Reference Resource: SNMP_Trap
Specifies which VRF this association should connect with.

Responses
200

OK

204

No Content

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

415

Unsupported Media Type

500

Internal Server Error

501

Not Implemented

503

Service Unavailable

Language
Response
Click Try It! to start a request and see the response here!