The trapsess
token actually follows the same conventions in the snmpcmd
manual page, which includes TLS/DTLS options. (In fact, internally, it uses the same argument parsing code).
So... you actually can replace "snmpget" inall the snmpget
examples from the tutorial page you quoted with an appropriate trapsess
directive and put it in your snmpd.conf file. EG, You can use the "-T our_identity=foo" and "-T their_identity=snmptrapd" types of tokens in the trapsess
line.