RE: net SNMPv3 support

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

           While I am trying with the snmpwalk.exe tool. I got below error.
Kindly tell me how can I enable encryption support in net-snmp library.


snmpwalk  -v 3  -u admin -n "jetDirect" -l authPriv -d -a MD5 -A 12345678
-x DES -X 12345678 10.200.90.113 1.3.6.1.2.1.43.5.1.1.3.1

Sending 69 bytes to UDP: [10.200.90.113]:161
0000: 30 43 02 01  03 30 0F 02  02 34 EF 02  03 00 FF E3    0C...0...4∩... π
0016: 04 01 04 02  01 03 04 10  30 0E 04 00  02 01 00 02    ........0.......
0032: 01 00 04 00  04 00 04 00  30 1B 04 00  04 09 6A 65    ........0....
je
0048: 74 44 69 72  65 63 74 A0  0C 02 02 17  F2 02 01 00    tDirectá....≥...
0064: 02 01 00 30  00                                       ...0.


Received 101 bytes from UDP: [10.200.90.113]:161
0000: 30 63 02 01  03 30 0E 02  02 34 EF 02  02 20 00 04    0c...0...4∩.. ..
0016: 01 00 02 01  03 04 1C 30  1A 04 0C 00  00 00 0B 00    .......0........
0032: 14 38 90 53  66 00 01 02  01 00 02 01  00 04 00 04    .8.Sf...........
0048: 00 04 00 30  30 04 0C 00  00 00 0B 00  14 38 90 53    ...00........8.S
0064: 66 00 01 04  00 A8 1E 02  02 17 F2 02  01 00 02 01    f....¿....≥.....
0080: 00 30 12 30  10 06 0A 2B  06 01 06 03  0F 01 01 04    .0.0...+........
0096: 00 41 02 01  1A                                       .A...

Encryption support not enabled.
snmpwalk: USM encryption error

I am running this tool on Windows XP machine.

If I am using authNoPriv option and trying to fire the existing command I am getting 
following result from the agent.

snmpwalk  -v 3  -u admin -n "jetDirect" -l authNoPriv -d -a MD5 -A 1234567
8 -x DES -X 12345678 10.200.90.113 1.3.6.1.2.1.43.5.1.1.3.1

Sending 69 bytes to UDP: [10.200.90.113]:161
0000: 30 43 02 01  03 30 0F 02  02 6F A1 02  03 00 FF E3    0C...0...oí... π
0016: 04 01 04 02  01 03 04 10  30 0E 04 00  02 01 00 02    ........0.......
0032: 01 00 04 00  04 00 04 00  30 1B 04 00  04 09 6A 65    ........0....
je
0048: 74 44 69 72  65 63 74 A0  0C 02 02 63  5E 02 01 00    tDirectá...c^...
0064: 02 01 00 30  00                                       ...0.


Received 101 bytes from UDP: [10.200.90.113]:161
0000: 30 63 02 01  03 30 0E 02  02 6F A1 02  02 20 00 04    0c...0...oí.. ..
0016: 01 00 02 01  03 04 1C 30  1A 04 0C 00  00 00 0B 00    .......0........
0032: 14 38 90 53  66 00 01 02  01 00 02 01  00 04 00 04    .8.Sf...........
0048: 00 04 00 30  30 04 0C 00  00 00 0B 00  14 38 90 53    ...00........8.S
0064: 66 00 01 04  00 A8 1E 02  02 63 5E 02  01 00 02 01    f....¿...c^.....
0080: 00 30 12 30  10 06 0A 2B  06 01 06 03  0F 01 01 04    .0.0...+........
0096: 00 41 02 01  1C                                       .A...


Sending 127 bytes to UDP: [10.200.90.113]:161
0000: 30 7D 02 01  03 30 0F 02  02 6F A2 02  03 00 FF E3    0}...0...oó... π
0016: 04 01 05 02  01 03 04 2D  30 2B 04 0C  00 00 00 0B    .......-0+......
0032: 00 14 38 90  53 66 00 01  02 01 00 02  01 00 04 05    ..8.Sf..........
0048: 61 64 6D 69  6E 04 0C A2  4D AE A8 57  9A 5B 35 D1    admin..óM«¿WÜ[5╤
0064: EA 3E D2 04  00 30 38 04  0C 00 00 00  0B 00 14 38    Ω>╥..08........8
0080: 90 53 66 00  01 04 09 6A  65 74 44 69  72 65 63 74    .Sf...      jetDirec
t
0096: A1 1D 02 02  63 5F 02 01  00 02 01 00  30 11 30 0F    í...c_......0.0.
0112: 06 0B 2B 06  01 02 01 2B  05 01 01 03  01 05 00       ..+....+.......


Received 105 bytes from UDP: [10.200.90.113]:161
0000: 30 67 02 01  03 30 0E 02  02 6F A2 02  02 20 00 04    0g...0...oó.. ..
0016: 01 00 02 01  03 04 21 30  1F 04 0C 00  00 00 0B 00    ......!0........
0032: 14 38 90 53  66 00 01 02  01 00 02 01  00 04 05 61    .8.Sf..........a
0048: 64 6D 69 6E  04 00 04 00  30 2F 04 0C  00 00 00 0B    dmin....0/......
0064: 00 14 38 90  53 66 00 01  04 00 A8 1D  02 02 63 5F    ..8.Sf....¿...c_
0080: 02 01 00 02  01 00 30 11  30 0F 06 0A  2B 06 01 06    ......0.0...+...
0096: 03 0F 01 01  05 00 41 01  27                          ......A.'

snmpwalk: Authentication failure (incorrect password, community or key)


I am very new to SNMP and that to SNMPv3 I am like a new born chield.Please 
kindly help me and give me some references so that I can able to solve this problem.

Regards,
Asish
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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.