Ask a question about snmpwalk: Timeout (Sub-id not found: (top) -> sysDescr)

"joden" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
hello net-snmp:
    when I set up the net-snmp on centOS 64bit server,to locahost,can get the date.eg:
 snmpwalk -v 3 -l authNoPriv -a MD5 -u 'username' -A 'pass' '127.0.0.1' 'sysDescr' -d
 get the infor:
 Sending 64 bytes to UDP: [127.0.0.1]:161->[0.0.0.0]:0
0000: 30 3E 02 01  03 30 11 02  04 44 A4 5E  75 02 03 00    0>...0...D.^u...
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  37 6C E5 05  02 01 00 02  01 00 30 00    ....7l........0.
 
Received 116 byte packet from UDP: [127.0.0.1]:161->[0.0.0.0]:36335
0000: 30 72 02 01  03 30 11 02  04 44 A4 5E  75 02 03 00    0r...0...D.^u...
0016: FF E3 04 01  00 02 01 03  04 22 30 20  04 11 80 00    ........."0 ....
0032: 1F 88 80 BB  F6 6D 17 39  7B A5 4E 00  00 00 00 02    .....m.9{.N.....
0048: 01 11 02 02  11 20 04 00  04 00 04 00  30 36 04 11    ..... ......06..
0064: 80 00 1F 88  80 BB F6 6D  17 39 7B A5  4E 00 00 00    .......m.9{.N...
0080: 00 04 00 A8  1F 02 04 37  6C E5 05 02  01 00 02 01    .......7l.......
0096: 00 30 11 30  0F 06 0A 2B  06 01 06 03  0F 01 01 04    .0.0...+........
0112: 00 41 01 01                                           .A..
 
Sending 136 bytes to UDP: [127.0.0.1]:161->[0.0.0.0]:0
0000: 30 81 85 02  01 03 30 11  02 04 44 A4  5E 74 02 03    0.....0...D.^t..
0016: 00 FF E3 04  01 05 02 01  03 04 39 30  37 04 11 80    ..........907...
0032: 00 1F 88 80  BB F6 6D 17  39 7B A5 4E  00 00 00 00    ......m.9{.N....
0048: 02 01 11 02  02 11 20 04  0B 73 6E 6D  70 6C 6F 6C    ...... ..snmplol
0064: 73 69 67 68  04 0C 82 29  96 F6 30 83  C3 B0 09 75    sigh...)..0....u
0080: A0 9E 04 00  30 32 04 11  80 00 1F 88  80 BB F6 6D    ....02.........m
0096: 17 39 7B A5  4E 00 00 00  00 04 00 A1  1B 02 04 37    .9{.N..........7
0112: 6C E5 04 02  01 00 02 01  00 30 0D 30  0B 06 07 2B    l........0.0...+
0128: 06 01 02 01  01 01 05 00                              ........
 
Received 210 byte packet from UDP: [127.0.0.1]:161->[0.0.0.0]:36335
0000: 30 81 CF 02  01 03 30 11  02 04 44 A4  5E 74 02 03    0.....0...D.^t..
0016: 00 FF E3 04  01 01 02 01  03 04 39 30  37 04 11 80    ..........907...
0032: 00 1F 88 80  BB F6 6D 17  39 7B A5 4E  00 00 00 00    ......m.9{.N....
0048: 02 01 11 02  02 11 20 04  0B 73 6E 6D  70 6C 6F 6C    ...... ..snmplol
0064: 73 69 67 68  04 0C CA 38  A0 D2 47 33  03 EA 89 67    sigh...8..G3...g
0080: A5 DE 04 00  30 7C 04 11  80 00 1F 88  80 BB F6 6D    ....0|.........m
0096: 17 39 7B A5  4E 00 00 00  00 04 00 A2  65 02 04 37    .9{.N.......e..7
0112: 6C E5 04 02  01 00 02 01  00 30 57 30  55 06 08 2B    l........0W0U..+
0128: 06 01 02 01  01 01 00 04  49 4C 69 6E  75 78 20 6C    ........ILinux l
0144: 6F 6C 73 69  67 68 20 32  2E 36 2E 31  38 2D 31 39    olsigh 2.6.18-19
0160: 34 2E 65 6C  35 78 65 6E  20 23 31 20  53 4D 50 20    4.el5xen #1 SMP 
0176: 46 72 69 20  41 70 72 20  32 20 31 35  3A 33 34 3A    Fri Apr 2 15:34:
0192: 34 30 20 45  44 54 20 32  30 31 30 20  78 38 36 5F    40 EDT 2010 x86_
0208: 36 34                                                 64
 SNMPv2-MIB::sysDescr.0 = STRING: Linux lolsigh 2.6.18-194.el5xen #1 SMP Fri Apr 2 15:34:40 EDT 2010 x86_64
 Sending 137 bytes to UDP: [127.0.0.1]:161->[0.0.0.0]:0
0000: 30 81 86 02  01 03 30 11  02 04 44 A4  5E 76 02 03    0.....0...D.^v..
0016: 00 FF E3 04  01 05 02 01  03 04 39 30  37 04 11 80    ..........907...
0032: 00 1F 88 80  BB F6 6D 17  39 7B A5 4E  00 00 00 00    ......m.9{.N....
0048: 02 01 11 02  02 11 20 04  0B 73 6E 6D  70 6C 6F 6C    ...... ..snmplol
0064: 73 69 67 68  04 0C 81 27  E0 C1 24 6F  8B B6 6D 6B    sigh...'..$o..mk
0080: 1C 2A 04 00  30 33 04 11  80 00 1F 88  80 BB F6 6D    .*..03.........m
0096: 17 39 7B A5  4E 00 00 00  00 04 00 A1  1C 02 04 37    .9{.N..........7
0112: 6C E5 06 02  01 00 02 01  00 30 0E 30  0C 06 08 2B    l........0.0...+
0128: 06 01 02 01  01 01 00 05  00                          .........
 
Received 147 byte packet from UDP: [127.0.0.1]:161->[0.0.0.0]:36335
0000: 30 81 90 02  01 03 30 11  02 04 44 A4  5E 76 02 03    0.....0...D.^v..
0016: 00 FF E3 04  01 01 02 01  03 04 39 30  37 04 11 80    ..........907...
0032: 00 1F 88 80  BB F6 6D 17  39 7B A5 4E  00 00 00 00    ......m.9{.N....
0048: 02 01 11 02  02 11 20 04  0B 73 6E 6D  70 6C 6F 6C    ...... ..snmplol
0064: 73 69 67 68  04 0C 33 0A  ED 04 F5 EB  4F 4C C2 2F    sigh..3.....OL./
0080: 1D 8A 04 00  30 3D 04 11  80 00 1F 88  80 BB F6 6D    ....0=.........m
0096: 17 39 7B A5  4E 00 00 00  00 04 00 A2  26 02 04 37    .9{.N.......&..7
0112: 6C E5 06 02  01 00 02 01  00 30 18 30  16 06 08 2B    l........0.0...+
0128: 06 01 02 01  01 02 00 06  0A 2B 06 01  04 01 BF 08    .........+......
0144: 03 02 0A                   
 but 
  when  to remove server,eg:
 snmpwalk -v 3 -l authNoPriv -a MD5 -u 'user' -A 'pass' '10.62.52.15' 'sysDescr' -d
 get the dubug infoe:
 Sending 64 bytes to UDP: [10.62.52.15]:161->[0.0.0.0]:0
0000: 30 3E 02 01  03 30 11 02  04 23 3C 04  A6 02 03 00    0>...0...#<.....
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  72 CF 36 A0  02 01 00 02  01 00 30 00    ....r.6.......0.
 snmpwalk: Timeout (Sub-id not found: (top) -> sysDescr)
  
 This problem has been bothering me for a long time,please help to solve it.
  
 thanks,Looking for your reply!

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev

_______________________________________________
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
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.