Hi,
I am testing retry option in snmpcmd and noticed that retries for snmpv2c inform is not 5. According to snmpcmd man page default retries is 5. So I was expecting it will use default value . I am using net-snmp-5.7.1 and retries are not configured in snmp config file. Is this known issue in version 5.7.1? I did test the same on net-snmp-5.9 and could see 5 retries. *Test results:* *snmptrap --version* NET-SNMP version: 5.7.1 *Pushpa:/tmp#* snmptrap -Ci -v 2c -c test123 10.12.70.97 "" .1.3.6.1.4.1.8072.2.3.1 .1.3.6.1.4.1.8072.2.1.1 i 555 snmpinform: Timeout *Pushpa:/tmp#* snmptrap -Ci -v 2c -c test123 10.12.70.97 "" .1.3.6.1.4.1.8072.2.3.1 .1.3.6.1.4.1.8072.2.1.1 i 666 snmpinform: Timeout =============* tcpdump results*==================================== 17:52:22.987127 IP 192.168.17.120.48784 > 192.168.17.97.snmp-trap: C=test123 Inform(75) system.sysUpTime.0=464534 S:1.1.4.1.0=E:8072.2.3.1 E:8072.2.1.1=555 17:52:23.314174 IP 192.168.17.97 > 192.168.17.120: ICMP 192.168.17.97 udp port snmp-trap unreachable, length 132 17:58:40.899853 IP 192.168.17.120.46812 > 192.168.17.97.snmp-trap: C=test123 Inform(75) system.sysUpTime.0=502325 S:1.1.4.1.0=E:8072.2.3.1 E:8072.2.1.1=666 17:58:41.170006 IP 192.168.17.97 > 192.168.17.120: ICMP 192.168.17.97 udp port snmp-trap unreachable, length 132
_______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders