How to support SNMPv2 mib traps per VRF.

chandrasekharreddy chinnapareddygari <[email protected]> Wed, 20 Oct 2021 08:43:58 +0000
Newsgroups gmane.network.net-snmp.devel,gmane.network.net-snmp.user
Message-ID <HK2PR04MB3699599E7B92B11CA34789B1ECBE9@HK2PR04MB3699.apcprd04.prod.outlook.com>
Hi ,


We a 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 multiple VRFs. My requirement is trapsinks ,  ,authentication failure traps, cold start, 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).





Please help me to resolve issues.













Thanks,

Chandra Sekhar.

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders