Patch 3ca90c2c in V5-8-patches added basic VRF support for linux back on Dec. 28, 2018.
It looks like we never added support for v3 traps.
We need to be able to do the same SO_BINDTODEVICE for SNMPv3 Traps:
(here, the sink is 192.168.0.1 in the "blue" vrf).
trapsess -e 0x80001f8880abcdabcdabcdabcd00000000 -v3 -l authPriv -u administrator -a SHA -A XXXXXXXXXX -x AES -X EEEEEEEEE 192.168.0.1@blue
Since you created this report in the "Patches" category, does that mean that you have a patch ready but that you have not yet attached your patch?
No, sorry. I meant to open a bug.
Last edit: Bart Van Assche 2019-09-14
netsnmp_udpbase_sendto_unix() only triggers SO_BINDTODEVICE if a source IP address has been specified. Have you tried to specify a source address with trapsess option -s?