set snmp traps

Description

Configures an existing SNMP trap.

Syntax

set snmp traps trap-name <trap-name> [ enable <enable> ] [ severity <severity> ] [ repetitions <repetitions> ] [ repetitions-delay <repetitions-delay> ] [ threshold <threshold> ]

Parameters

Parameter

Description

enable

Enable or disable whether a trap is sent for the specific event

Type: Boolean (true/false)

repetitions

Repetitions on trap sending times between 0 - 10, optional field

Type: A number with no fractional part (integer)

repetitions-delay

Wait time (in seconds) between sending each trap, optional field

Type: A number with no fractional part (integer)

severity

Trap hazardous level, optional field, severity of the trap between 1 - 4

Type: A number with no fractional part (integer)

threshold

The mathematical value associated with the thresholds

Type: A number with no fractional part (integer)

trap-name

Trap event name

Options: trap-name

Example

set snmp traps trap-name interface-disconnected enable true severity 15 repetitions 15 repetitions-delay 15 threshold 15