RE: net SNMPv3 support

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

I am trying to send some packets using SNMPv3 but its failing. Please check the details below and let me know if I am missing something.

C:\usr\bin>snmpwalk  -v 3  -u ashis -n "jetDirect" -l authPriv -a MD5 -A 682440502979335457 -x DES -d -X 6824402502979335457 10.200.90.113 1.3.6.1.2.1.43.5.1..3.1

Sending 69 bytes to UDP: [10.200.90.113]:161
0000: 30 43 02 01  03 30 0F 02  02 03 11 02  03 00 FF E3    0C...0........ π
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 08  00 02 01 00    tDirectá........
0064: 02 01 00 30  00                                       ...0.


Received 100 bytes from UDP: [10.200.90.113]:161
0000: 30 62 02 01  03 30 0E 02  02 03 11 02  02 20 00 04    0b...0....... ..
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  2F 04 0C 00  00 00 0B 00  14 38 90 53    ...0/........8.S
0064: 66 00 01 04  00 A8 1D 02  02 08 00 02  01 00 02 01    f....¿..........
0080: 00 30 11 30  0F 06 0A 2B  06 01 06 03  0F 01 01 04    .0.0...+........
0096: 00 41 01 17                                           .A..


Sending 144 bytes to UDP: [10.200.90.113]:161
0000: 30 81 8D 02  01 03 30 0F  02 02 03 10  02 03 00 FF    0.....0........ 
0016: E3 04 01 07  02 01 03 04  35 30 33 04  0C 00 00 00    π.......503.....
0032: 0B 00 14 38  90 53 66 00  01 02 01 00  02 01 00 04    ...8.Sf.........
0048: 05 61 73 68  69 73 04 0C  8C A7 4B BA  9F 29 59 23    .ashis..îºK║ƒ)Y#
0064: 8C 6F 46 54  04 08 00 00  00 01 9F 83  CA 9E 04 40    îoFT......ƒâ╩₧.@
0080: 62 42 5E 45  F5 77 BB 39  D9 99 CF DD  F2 F9 C9 EC    bB^E⌡w╗9┘.╧▌≥∙╔∞
0096: C9 C8 81 DB  E2 37 5D 18  DC CB A3 2F  BF 72 EE 81    ╔╚.█Γ7].▄╦ú/┐rε.
0112: ED B5 2C 2E  61 CA C5 53  2C 96 10 64  16 2A 21 2D    φ╡,.a╩┼S,û.d.*!-
0128: 6D 85 6B A7  93 88 E8 40  C9 20 E1 7F  CB 13 18 81    màkºô.Φ@╔ ß.╦...


Received 104 bytes from UDP: [10.200.90.113]:161
0000: 30 66 02 01  03 30 0E 02  02 03 10 02  02 20 00 04    0f...0....... ..
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: 73 68 69 73  04 00 04 00  30 2E 04 0C  00 00 00 0B    shis....0.......
0064: 00 14 38 90  53 66 00 01  04 00 A8 1C  02 01 00 02    ..8.Sf....¿.....
0080: 01 00 02 01  00 30 11 30  0F 06 0A 2B  06 01 06 03    .....0.0...+....
0096: 0F 01 01 05  00 41 01 0C                              .....A..

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

Thanks in advance

Namitha
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Dave Shield
Sent: Thursday, June 21, 2007 8:23 PM
To: Namitha Gowda (WT01 - Embedded & Product Engineering)
Cc: [email protected]
Subject: Re: net SNMPv3 support

On 21/06/07, [email protected] <[email protected]> wrote:
> I executed the following command:
>
> snmpwalk  -v 3  -u ashis -n "jetDirect" -l authPriv -a MD5 -A 12345678
>      -x DES -X 12345678 10.200.90.113 1.3.6.1.2.1.43.5.1.1.3.1
>
> And got the below response
>
> Encryption support not enabled.
> snmpset: USM encryption error


Please add the '-d' flag to the command, and try again.
Do you see any packet dumps before the error message or not?
If so, please post them.

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