I tried snmpget with my device (Cisco SF 300), but without success. I used the following command:<br />snmpget -c=public -v=3 -a=MD5 -l=authNoPriv -A=800000090340f4ecf2b113 -u=billing -X=testing345 192.168.209.4 1.3.6.1.2.1.2.2.1.7.3<br />(I tried to get state of 3 interface). Every time I run this command I got different replay, for example:<br />Variable: Id: .1.3.6.1.6.3.15.1.1.5.0; Data: 7<br />Data were changing incrementally. OID is different then I entered in command.<br />I also tried version bigdipper 7 and using the same command receive exception:<br />snmpget -c=public -v=3 -a=MD5 -l=authNoPriv -A=800000090340f4ecf2b113 -u=billing -X=testing345 192.168.209.4 1.3.6.1.2.1.2.2.1.7.3<br />Lextm.SharpSnmpLib.SnmpException: invalid v3 packet data hash detected<br /> at Lextm.SharpSnmpLib.Messaging.MessageFactory.ParseMessage(Int32 first, Stream stream, UserRegistry registry) in d:\sharpsnmpl<br />ib\SharpSnmpLib\Messaging\MessageFactory.cs:line 190<br /> at Lextm.SharpSnmpLib.Messaging.MessageFactory.ParseMessages(Byte[] buffer, Int32 index, Int32 length, UserRegistry registry) i<br />n d:\sharpsnmplib\SharpSnmpLib\Messaging\MessageFactory.cs:line 108<br /> at Lextm.SharpSnmpLib.Messaging.SnmpMessageExtension.GetResponse(ISnmpMessage request, Int32 timeout, IPEndPoint receiver, User<br />Registry registry, Socket udpSocket) in d:\sharpsnmplib\SharpSnmpLib\Messaging\SnmpMessageExtension.cs:line 428<br /> at Lextm.SharpSnmpLib.Messaging.SnmpMessageExtension.GetResponse(ISnmpMessage request, Int32 timeout, IPEndPoint receiver, Sock<br />et udpSocket) in d:\sharpsnmplib\SharpSnmpLib\Messaging\SnmpMessageExtension.cs:line 351<br /> at Lextm.SharpSnmpLib.Messaging.SnmpMessageExtension.GetResponse(ISnmpMessage request, Int32 timeout, IPEndPoint receiver) in d<br />:\sharpsnmplib\SharpSnmpLib\Messaging\SnmpMessageExtension.cs:line 309<br /> at SnmpGet.Program.Main(String[] args) in d:\sharpsnmplib\Samples\C#\snmpget\Program.cs:line 183<br /><br />May be I doing something wrong?
Comments: See new dumps in file 2012-12-20.zip Command: snmpget -c=public -v=3 -a=MD5 -l=authNoPriv -u=billing -A=testing345 192.168.209.4 1.3.6.1.2.1.2.2.1.7.3 My IP: 192.168.209.2 Device IP: 192.168.209.4 V7.5.pcapng - dump using original version of snmpget and library. newVersionWitherr.pcapng - new version (got "unknown error" message). correctedVersion.pcapng - new version with my correction (command executed successfully).
Comments: See new dumps in file 2012-12-20.zip Command: snmpget -c=public -v=3 -a=MD5 -l=authNoPriv -u=billing -A=testing345 192.168.209.4 1.3.6.1.2.1.2.2.1.7.3 My IP: 192.168.209.2 Device IP: 192.168.209.4 V7.5.pcapng - dump using original version of snmpget and library. newVersionWitherr.pcapng - new version (got "unknown error" message). correctedVersion.pcapng - new version with my correction (command executed successfully).