snmpget time out problem.

"raghavendra annakula" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

I have developed an agent using snmp4j APIs. This agent application is
working fine w.r.t v1 and v2 snmp requests.

I have tested this by giving snmpget (netsnmp) command from my linux
console.

Then I start testing agent application by giving snmp v3 requests.
In this case my agent application is giving response for the respective
request. But Net-SNMP snmpget command is unable to decode that response.

The snmpget command is
snmpget -v 3 -a MD5 -A "hello1234"  -l noAuthNoPriv  -u "snmpuser1" -x DES
-X hello1234 annra01-xp1 .1.3.6.1.2.1.2.2.1.2.1 -t 30 -d

snmpget command is throwing time out problem.

I have take ethereal traces for message exchanging between agent n manager.

Please find attachment for ethereal traces and snmpget response.

Could you please help me out to solve my problem.

Sorry for my poor english.

Thanks,
Ragavendra.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

_______________________________________________
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
snmp-get_etherealtrace (application/octet-stream, 1.5 KB) - not displayed
snmpgetdebugoutput.txt (text/plain, 8.3 KB)
 
[root@annra01-rhas3 root]# snmpget -v 3 -a MD5 -A "hello1234"  -l noAuthNoPriv  -u "snmpuser1" -x DES -X hello1234 annra01-xp1 .1.3.6.1.2.1.2.2.1.2.1 -t 30 -d > snmpgetoutput.txt
 
Sending 64 bytes to 155.35.15.120
0000: 30 3E 02 01  03 30 11 02  04 42 B8 EA  9F 02 03 00    0>...0...B......
0016: FF E3 04 01  04 02 01 03  04 10 30 0E  04 00 02 01    ..........0.....
0032: 00 02 01 00  04 00 04 00  04 00 30 14  04 00 04 00    ..........0.....
0048: A0 0E 02 04  31 58 42 5B  02 01 00 02  01 00 30 00    ....1XB[......0.
 
 
Received 87 bytes from 155.35.15.120
0000: 30 55 02 01  03 30 11 02  04 42 B8 EA  9F 02 03 00    0U...0...B......
0016: FF FF 04 01  00 02 01 03  04 19 30 17  04 09 80 00    ..........0.....
0032: 13 70 01 9B  23 0F 78 02  01 00 02 01  00 04 00 04    .p..#.x.........
0048: 00 04 00 30  22 04 00 04  00 A8 1C 02  01 00 02 01    ...0"...........
0064: 00 02 01 00  30 11 30 0F  06 0A 2B 06  01 06 03 0F    ....0.0...+.....
0080: 01 01 04 00  41 01 00                                 ....A..
 
 
Sending 107 bytes to 155.35.15.120
0000: 30 69 02 01  03 30 11 02  04 42 B8 EA  A0 02 03 00    0i...0...B......
0016: FF E3 04 01  04 02 01 03  04 22 30 20  04 09 80 00    ........."0 ....
0032: 13 70 01 9B  23 0F 78 02  01 00 02 01  00 04 09 73    .p..#.x........s
0048: 6E 6D 70 75  73 65 72 31  04 00 04 00  30 2D 04 09    nmpuser1....0-..
0064: 80 00 13 70  01 9B 23 0F  78 04 00 A0  1E 02 04 31    ...p..#.x......1
0080: 58 42 5C 02  01 00 02 01  00 30 10 30  0E 06 0A 2B    XB\......0.0...+
0096: 06 01 02 01  02 02 01 02  01 05 00                    ...........
 
 
Received 114 bytes from 155.35.15.120
0000: 30 70 02 01  03 30 11 02  04 30 0E CB  F4 02 03 00    0p...0...0......
0016: FF FF 04 01  00 02 01 03  04 22 30 20  04 09 80 00    ........."0 ....
0032: 13 70 01 9B  23 0F 78 02  01 00 02 01  00 04 09 73    .p..#.x........s
0048: 6E 6D 70 75  73 65 72 31  04 00 04 00  30 34 04 09    nmpuser1....04..
0064: 80 00 13 70  01 9B 23 0F  78 04 00 A2  25 02 04 31    ...p..#.x...%..1
0080: 58 42 5C 02  01 00 02 01  00 30 17 30  15 06 0A 2B    XB\......0.0...+
0096: 06 01 02 01  02 02 01 02  01 04 07 6C  6E 6C 61 6E    ...........lnlan
0112: 63 30                                                 c0
 
 
Resending 107 bytes to 155.35.15.120
0000: 30 69 02 01  03 30 11 02  04 42 B8 EA  A1 02 03 00    0i...0...B......
0016: FF E3 04 01  04 02 01 03  04 22 30 20  04 09 80 00    ........."0 ....
0032: 13 70 01 9B  23 0F 78 02  01 00 02 01  1E 04 09 73    .p..#.x........s
0048: 6E 6D 70 75  73 65 72 31  04 00 04 00  30 2D 04 09    nmpuser1....0-..
0064: 80 00 13 70  01 9B 23 0F  78 04 00 A0  1E 02 04 31    ...p..#.x......1
0080: 58 42 5C 02  01 00 02 01  00 30 10 30  0E 06 0A 2B    XB\......0.0...+
0096: 06 01 02 01  02 02 01 02  01 05 00                    ...........
 
 
Received 114 bytes from 155.35.15.120
0000: 30 70 02 01  03 30 11 02  04 30 0E CB  F5 02 03 00    0p...0...0......
0016: FF FF 04 01  00 02 01 03  04 22 30 20  04 09 80 00    ........."0 ....
0032: 13 70 01 9B  23 0F 78 02  01 00 02 01  00 04 09 73    .p..#.x........s
0048: 6E 6D 70 75  73 65 72 31  04 00 04 00  30 34 04 09    nmpuser1....04..
0064: 80 00 13 70  01 9B 23 0F  78 04 00 A2  25 02 04 31    ...p..#.x...%..1
0080: 58 42 5C 02  01 00 02 01  00 30 17 30  15 06 0A 2B    XB\......0.0...+
0096: 06 01 02 01  02 02 01 02  01 04 07 6C  6E 6C 61 6E    ...........lnlan
0112: 63 30                                                 c0
 
 
Resending 107 bytes to 155.35.15.120
0000: 30 69 02 01  03 30 11 02  04 42 B8 EA  A2 02 03 00    0i...0...B......
0016: FF E3 04 01  04 02 01 03  04 22 30 20  04 09 80 00    ........."0 ....
0032: 13 70 01 9B  23 0F 78 02  01 00 02 01  1E 04 09 73    .p..#.x........s
0048: 6E 6D 70 75  73 65 72 31  04 00 04 00  30 2D 04 09    nmpuser1....0-..
0064: 80 00 13 70  01 9B 23 0F  78 04 00 A0  1E 02 04 31    ...p..#.x......1
0080: 58 42 5C 02  01 00 02 01  00 30 10 30  0E 06 0A 2B    XB\......0.0...+
0096: 06 01 02 01  02 02 01 02  01 05 00                    ...........
 
 
Received 114 bytes from 155.35.15.120
0000: 30 70 02 01  03 30 11 02  04 30 0E CB  F6 02 03 00    0p...0...0......
0016: FF FF 04 01  00 02 01 03  04 22 30 20  04 09 80 00    ........."0 ....
0032: 13 70 01 9B  23 0F 78 02  01 00 02 01  00 04 09 73    .p..#.x........s
0048: 6E 6D 70 75  73 65 72 31  04 00 04 00  30 34 04 09    nmpuser1....04..
0064: 80 00 13 70  01 9B 23 0F  78 04 00 A2  25 02 04 31    ...p..#.x...%..1
0080: 58 42 5C 02  01 00 02 01  00 30 17 30  15 06 0A 2B    XB\......0.0...+
0096: 06 01 02 01  02 02 01 02  01 04 07 6C  6E 6C 61 6E    ...........lnlan
0112: 63 30                                                 c0
 
 
Resending 107 bytes to 155.35.15.120
0000: 30 69 02 01  03 30 11 02  04 42 B8 EA  A3 02 03 00    0i...0...B......
0016: FF E3 04 01  04 02 01 03  04 22 30 20  04 09 80 00    ........."0 ....
0032: 13 70 01 9B  23 0F 78 02  01 00 02 01  1E 04 09 73    .p..#.x........s
0048: 6E 6D 70 75  73 65 72 31  04 00 04 00  30 2D 04 09    nmpuser1....0-..
0064: 80 00 13 70  01 9B 23 0F  78 04 00 A0  1E 02 04 31    ...p..#.x......1
0080: 58 42 5C 02  01 00 02 01  00 30 10 30  0E 06 0A 2B    XB\......0.0...+
0096: 06 01 02 01  02 02 01 02  01 05 00                    ...........
 
 
Received 114 bytes from 155.35.15.120
0000: 30 70 02 01  03 30 11 02  04 30 0E CB  F7 02 03 00    0p...0...0......
0016: FF FF 04 01  00 02 01 03  04 22 30 20  04 09 80 00    ........."0 ....
0032: 13 70 01 9B  23 0F 78 02  01 00 02 01  00 04 09 73    .p..#.x........s
0048: 6E 6D 70 75  73 65 72 31  04 00 04 00  30 34 04 09    nmpuser1....04..
0064: 80 00 13 70  01 9B 23 0F  78 04 00 A2  25 02 04 31    ...p..#.x...%..1
0080: 58 42 5C 02  01 00 02 01  00 30 17 30  15 06 0A 2B    XB\......0.0...+
0096: 06 01 02 01  02 02 01 02  01 04 07 6C  6E 6C 61 6E    ...........lnlan
0112: 63 30                                                 c0
 
 
Resending 107 bytes to 155.35.15.120
0000: 30 69 02 01  03 30 11 02  04 42 B8 EA  A4 02 03 00    0i...0...B......
0016: FF E3 04 01  04 02 01 03  04 22 30 20  04 09 80 00    ........."0 ....
0032: 13 70 01 9B  23 0F 78 02  01 00 02 01  1E 04 09 73    .p..#.x........s
0048: 6E 6D 70 75  73 65 72 31  04 00 04 00  30 2D 04 09    nmpuser1....0-..
0064: 80 00 13 70  01 9B 23 0F  78 04 00 A0  1E 02 04 31    ...p..#.x......1
0080: 58 42 5C 02  01 00 02 01  00 30 10 30  0E 06 0A 2B    XB\......0.0...+
0096: 06 01 02 01  02 02 01 02  01 05 00                    ...........
 
 
Received 114 bytes from 155.35.15.120
0000: 30 70 02 01  03 30 11 02  04 30 0E CB  F8 02 03 00    0p...0...0......
0016: FF FF 04 01  00 02 01 03  04 22 30 20  04 09 80 00    ........."0 ....
0032: 13 70 01 9B  23 0F 78 02  01 00 02 01  00 04 09 73    .p..#.x........s
0048: 6E 6D 70 75  73 65 72 31  04 00 04 00  30 34 04 09    nmpuser1....04..
0064: 80 00 13 70  01 9B 23 0F  78 04 00 A2  25 02 04 31    ...p..#.x...%..1
0080: 58 42 5C 02  01 00 02 01  00 30 17 30  15 06 0A 2B    XB\......0.0...+
0096: 06 01 02 01  02 02 01 02  01 04 07 6C  6E 6C 61 6E    ...........lnlan
0112: 63 30                                                 c0
 
 
Resending 107 bytes to 155.35.15.120
0000: 30 69 02 01  03 30 11 02  04 42 B8 EA  A5 02 03 00    0i...0...B......
0016: FF E3 04 01  04 02 01 03  04 22 30 20  04 09 80 00    ........."0 ....
0032: 13 70 01 9B  23 0F 78 02  01 00 02 01  1E 04 09 73    .p..#.x........s
0048: 6E 6D 70 75  73 65 72 31  04 00 04 00  30 2D 04 09    nmpuser1....0-..
0064: 80 00 13 70  01 9B 23 0F  78 04 00 A0  1E 02 04 31    ...p..#.x......1
0080: 58 42 5C 02  01 00 02 01  00 30 10 30  0E 06 0A 2B    XB\......0.0...+
0096: 06 01 02 01  02 02 01 02  01 05 00                    ...........
 
 
Received 114 bytes from 155.35.15.120
0000: 30 70 02 01  03 30 11 02  04 30 0E CB  F9 02 03 00    0p...0...0......
0016: FF FF 04 01  00 02 01 03  04 22 30 20  04 09 80 00    ........."0 ....
0032: 13 70 01 9B  23 0F 78 02  01 00 02 01  00 04 09 73    .p..#.x........s
0048: 6E 6D 70 75  73 65 72 31  04 00 04 00  30 34 04 09    nmpuser1....04..
0064: 80 00 13 70  01 9B 23 0F  78 04 00 A2  25 02 04 31    ...p..#.x...%..1
0080: 58 42 5C 02  01 00 02 01  00 30 17 30  15 06 0A 2B    XB\......0.0...+
0096: 06 01 02 01  02 02 01 02  01 04 07 6C  6E 6C 61 6E    ...........lnlan
0112: 63 30                                                 c0
 
Timeout: No Response from annra01-xp1.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.