In snmp v2 you can choose categories broadly under trap groups.
root@D10_30-SRX240H-Node0-HQ# set snmp trap-group lab categories ?
Possible completions:
+ apply-groups Groups from which to inherit configuration data
+ apply-groups-except Don't inherit configuration data from these groups
authentication Authentication failures
chassis Chassis or environment notifications
chassis-cluster Clustering notifications
configuration Configuration notifications
link Link up-down transitions
> otn-alarms OTN alarm trap subcategories
remote-operations Remote operations
rmon-alarm RMON rising and falling alarms
routing Routing protocol notifications
services Services notifications
> sonet-alarms SONET alarm trap subcategories
startup System warm and cold starts
vrrp-events VRRP notifications
https://supportportal.juniper.net/s/article/Junos-How-to-filter-SNMP-traps-to-receive-specific-types-of-traps
In snmp v3 you can select specific oid creating profiles in notify filters.
notify-filter allowed-traps {
oid .1.3.6.1.6.3.1.1.5.1 include;
oid .1.3.6.1.6.3.1.1.5.2 include;
oid .1.3.6.1.6.3.1.1.5.3 include;
oid .1.3.6.1.6.3.1.1.5.4 include;
https://www.juniper.net/documentation/us/en/software/junos/network-mgmt/topics/ref/statement/notify-filter-edit-snmp.html
------------------------------
Steve Puluka BSEET - Juniper Ambassador
IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP - Retired)
http://puluka.com/home------------------------------
Original Message:
Sent: 06-02-2023 14:12
From: PREET PILLAI
Subject: SNMP filtering, allowing only specific OID
I want to disable a particular mib is it possible in SNMP V2?
One of my router is generating multiple trap on DOM FAULT so i want to disable that particular mib is it possible?
------------------------------
PREET PILLAI
Original Message:
Sent: 05-20-2017 06:05
From: spuluka
Subject: SNMP filtering, allowing only specific OID
You can also use the Juniper MIB explorer to get OID from the tree or vice versa
https://apps.juniper.net/mib-explorer/navigate.jsp