[SNMP4J] Need Help on Table query with index - 1.9.3d

srenivasan rs ssrenivasanr at gmail.com
Mon Jun 15 20:55:31 CEST 2009


Hi All,

  This is with respect to the behaviour of SNMP4J Table request.

  I am sending the attributes(ifDescr.1, ifIndex.1) to device as table 
request.
But, I get the vbs, index columns as null. But, the response from the NE
is represented as "Received message from".

Jun 15, 2009 08:33:15 
AM|org.snmp4j.transport.DefaultUdpTransportMapping-|Sending message to 
121.110.16.54/161 with length
63: 
30:3d:02:01:01:04:08:6e:6d:73:5f:73:6e:6d:70:a5:2e:02:04:69:5b:2f:69:02:01:00:02:01:05:30:20:30:0e:06:0a:2b:06:01:02:01:0
2:02:01:02:01:05:00:30:0e:06:0a:2b:06:01:02:01:02:02:01:01:01:05:00

Jun 15, 2009 08:33:15 
AM|org.snmp4j.transport.DefaultUdpTransportMapping-|Received message 
from /121.110.16.54/161 with len
gth 307: 
30:82:01:2f:02:01:01:04:08:6e:6d:73:5f:73:6e:6d:70:a2:82:01:1e:02:04:69:5b:2f:69:02:01:00:02:01:00:30:82:01:0e:30:24
:06:0d:2b:06:01:02:01:02:02:01:02:88:84:82:00:04:13:4c:6f:63:61:6c:20:45:74:68:65:72:6e:65:74:20:50:6f:72:74:30:15:06:0d:2b:0
6:01:02:01:02:02:01:01:88:84:82:00:02:04:01:01:01:00:30:19:06:0d:2b:06:01:02:01:02:02:01:02:88:84:84:00:04:08:41:55:58:20:50:
6f:72:74:30:15:06:0d:2b:06:01:02:01:02:02:01:01:88:84:84:00:02:04:01:01:02:00:30:19:06:0d:2b:06:01:02:01:02:02:01:02:88:84:86
:00:04:08:45:53:31:20:50:6f:72:74:30:15:06:0d:2b:06:01:02:01:02:02:01:01:88:84:86:00:02:04:01:01:03:00:30:19:06:0d:2b:06:01:0
2:01:02:02:01:02:88:84:88:00:04:08:45:53:32:20:50:6f:72:74:30:15:06:0d:2b:06:01:02:01:02:02:01:01:88:84:88:00:02:04:01:01:04:
00:30:22:06:0d:2b:06:01:02:01:02:02:01:02:88:88:82:00:04:11:41:4c:50:48:47:20:53:69:67:6e:61:6c:20:50:6f:72:74:30:15:06:0d:2b
:06:01:02:01:02:02:01:01:88:88:82:00:02:04:01:02:01:00
Jun 15, 2009 08:33:15 AM|org.snmp4j.Snmp-|Looking up pending request 
with handle PduHandle[1767583593]
Jun 15, 2009 08:33:15 AM|org.snmp4j.Snmp-|Cancelling pending request 
with handle PduHandle[1767583593]
Jun 15, 2009 08:33:15 
AM|com.xxxxxx.yyyyy.zzz.TableRequest-|TableRequest.java:finished:org.snmp4j.util.Tab
leEvent[index=null,vbs=null,status=0,exception=null,report=null], status:0

  When I query through Net-SNMP, I am getting the following

% snmpwalk -v2c -c public 121.110.16.54 1.3.6.1.2.1.2.2.1.2.1
IF-MIB::ifDescr.1= STRING: E1 Port

% snmpwalk -v2c -c public 121.110.16.54 1.3.6.1.2.1.2.2.1.1.1
IF-MIB::ifIndex.1 = INTEGER: 1

   Can any of let me know why the one line row is not returned in 
TableEvent object?

Thanks,

R Srinivasan





More information about the SNMP4J mailing list