I'm working with an MX480 and curious if it's possible to filter out certain SNMP trap OIDs while using SNMP v2. I found a Juniper article that gives details on how to configure this for SNMP v3, but I'm lost when trying to set up this up for v2 - https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/snmp-best-practices-traps-and-informs-managing.html
Here's a redacted example of my current config. This works well, but there's a variety of traps that I'd like to filter out, but don't want to remove the whole trap category to do so. Thanks in advance.
# show snmp
community communitystring {
authorization read-only;
clients {
192.168.0.100/32
}
routing-instance main_routing_instance {
clients {
192.168.0.100/32
}
}
}
trap-group TrapGroupName {
version v2;
categories {
authentication;
chassis;
link;
remote-operations;
routing;
startup;
rmon-alarm;
vrrp-events;
configuration;
services;
timing-events;
dot3oam-events;
sonet-alarms;
otn-alarms;
}
targets {
192.168.0.100;
}
}
routing-instance-access;
#snmptrap