Options

snmp traps

EdTheLadEdTheLad Member Posts: 2,111 ■■■■□□□□□□
Hi All,

Just a question about snmp traps
I'm wondering exactly how snmp traps work regarding versions.For instance when i enable my srx for snmpv3 only as follows:

set snmp v3 target-address ta1 address 1.1.1.1
set snmp v3 target-address ta1 tag-list trap-receivers
set snmp v3 target-address ta1 target-parameters tp1
set snmp v3 target-parameters tp1 parameters message-processing-model v3
set snmp v3 target-parameters tp1 parameters security-model usm
set snmp v3 target-parameters tp1 parameters security-level authentication
set snmp v3 target-parameters tp1 parameters security-name test-AuthOnly
set snmp v3 target-parameters tp1 notify-filter nf1
set snmp v3 notify n1 type trap
set snmp v3 notify notification-list tag trap-receivers
set snmp v3 notify-filter nf1 oid .1 include

On my client i receive traps, on inspection the traps receive say version 2.Now i'm thinking these traps were coded as version 2 but sent as version 3.Are there any new traps that were added in v3? i know the difference between snmpv2 and v3 is related to security, i haven't seen anything regarding different trap format.

Now when i look at standard snmpv1&v2c config as per below i have an option as to what version traps i want to send.Does this mean traps that were available in version1 i.e. early coded traps will not appear if i setup the box as version 2 only? Or if i setup all, i might get the same trap received twice? as version 1 and a reformatted version 2?

Anyway i hope someone can shed some light on this,thx.

lab@lab-alg1-node0# set snmp trap-group SNMPtest version ?
Possible completions:
all Send SNMPv1 and SNMPv2 traps
v1 Send SNMPv1 traps
v2 Send SNMPv2 traps
Networking, sometimes i love it, mostly i hate it.Its all about the $$$$
Sign In or Register to comment.