On Wed, Oct 20, 2021 at 5:00 AM chandrasekharreddy chinnapareddygari < [email protected]> wrote:
> Spell check has done in line. > ------------------------------ > *From:* chandrasekharreddy chinnapareddygari <[email protected] > > > *Sent:* Wednesday, 20 October, 2021, 14:15 > *To:* [email protected]; > [email protected] > *Subject:* How to support SNMPv2 mib traps per VRF. > > Hi , > > > We are supporting Multiple snmp servers (snmp server for each VRF).I want > to enable authenticationfailure traps for each VRF. > > Net-snmp has inbuilt token authtrapenable .Authentication Failure traps > are sending to the receivers ,If authtrapenable is set to 1 in > /etc/snmp/snmpd.conf . > > But, /etc/snmp/snmpd.conf file is common file for all VRFs. My > requirement is trapsinks , ,authentication failure traps status , cold > start and warm start traps should be per VRF. > > > I have tried with adding authtrapenable 1 token in snmp.conf file. Which > is local for each VRF. But snmpwalk output of snmpEnableAuthenTraps Oid is > returning as disable(2). > How are you getting snmpd to load the per-VRF snmp.conf? Have you tried prefixing it with [snmpd], i.e., [snmpd] authtrapenable 1 in the snmp.conf (or maybe some other per-VRF config file)? Bill
_______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
