Hi,

While performing a GET operation on a netsnmp agent for an oid whose
syntax is *IPADDRESS* , I see the *IPADDRESS * is coming with a length of *8*
*bytes* . Please see the code packet below. My manager application is not
able to get the *IPADDRESS* correctly as it is expecting a length of 4
*bytes* . Can someone explain about this behaviour.

30 37 02 01 00 04 06 70 75 62 6c 69 63 a2 2a 02 02 00 f0 02

01 00 02 01 00 30 1e 30 1c 06 10 2b 06 01 02 01 04 14 01 01

0a 81 48 81 12 81 48 40 08 0a c8 92 c8 00 00 00 00

PDU :
30 37 02 01 00 04 06 70 75 62 6c 69 63 a2 2a 02 02 00 f0 02
01 00 02 01 00 30 1e 30 1c 06 10 2b 06 01 02 01 04 14 01 01
0a 81 48 81 12 81 48 40 08 0a c8 92 c8 00 00 00 00
Version : 0(v1)
Community : public
Command : Get Response
Request ID: 240
Error Status: 0(No Error.)
Error Index: 0
Varbinds :
Object ID: .1.3.6.1.2.1.4.20.1.1.10.200.146.200
*IpAddress*: null
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to