[j-nsp] Suppressing SNMP Trap to just one packet
Alireza Soltanian
soltanian at gmail.com
Wed Sep 9 08:40:30 EDT 2015
Hi
We are implementing SNMP Trap on Juniper routers. The case is when an event
occurred, device sends trap for it several times(every one/two minute). Our
trap receiver is connected to a mailing system which generate email upon
receiving the trap. This action causes sending a lot of email for just one
event.
I am using following configuration:
set snmp v3 vacm security-to-group security-model v2c security-name
sn_v2c_trap group gr_v2c_trap
set snmp v3 vacm access group gr_v2c_trap default-context-prefix
security-model v2c security-level none read-view all
set snmp v3 vacm access group gr_v2c_trap default-context-prefix
security-model v2c security-level none notify-view all
set snmp v3 target-address TA_v2c_trap address 10.10.10.100
set snmp v3 target-address TA_v2c_trap port 162
set snmp v3 target-address TA_v2c_trap tag-list TAG
set snmp v3 target-address TA_v2c_trap target-parameters TP_v2c_trap
set snmp v3 target-parameters TP_v2c_trap parameters
message-processing-model v2c
set snmp v3 target-parameters TP_v2c_trap parameters security-model v2c
set snmp v3 target-parameters TP_v2c_trap parameters security-level none
set snmp v3 target-parameters TP_v2c_trap parameters security-name
sn_v2c_trap
set snmp v3 target-parameters TP_v2c_trap notify-filter nf1
set snmp v3 notify v2c_notify type trap
set snmp v3 notify v2c_notify tag TAG
set snmp v3 notify-filter nf1 oid .1 include
set snmp v3 notify-filter nf1 oid .1.3.6.1.4.1.2636.4.5 exclude
set snmp v3 notify-filter nf1 oid 1.3.6.1.2.1.14.16.2.10 exclude
set snmp v3 notify-filter nf1 oid 1.3.6.1.4.1.2636.4.4.0 exclude
set snmp v3 snmp-community index1 community-name
"$9$nprbCtuOBIrlv69tO1RlegoJDkmP5Ftp0"
set snmp v3 snmp-community index1 security-name sn_v2c_trap
set snmp view all oid .1 include
Is there one here who can suggest any soultion for sending just one trap
after an event. Specially when a BGP neighbor is down.
We are using variations of M Series router and JunOS versions from version
9 to 12....
Thank you
Alireza
More information about the juniper-nsp
mailing list