Login  
Search All Forums
Dart Home | PowerSNMP for .NET | Custom Development Reply | PowerSNMP for .NET Topics | Forums   
AuthorForum: PowerSNMP for .NET
Topic: receive RFC3411  snmpv3 trap error?
Alonso

From: USA
Posts: 6
Member Since: 05/01/14
posted May 1, 2014 3:21 AM

when run the c# sample :TrapConsole.45
I can get the v3 trap on RFC1910 but RFC3411 trap.
raw package for RFC3411 below:
90 E2 BA 54 C2 D0 00 00 5E 00 01 05 08 00 45 00 02 83 00 00 40 00 3B 11 5C 09 C0 A8 15 14 0A 35 01 70 DA AB 00 A2 02 6F 0C A0 30 82 02 63 02 01 03 30 10 02 04 00 CE 3C F7 02 02 20 00 04 01 00 02 01 03 04 27 30 25 04 0B 80 00 00 A1 03 00 0C 29 CE 6F 41 02 02 03 F0 02 03 1A B9 90 04 09 4D 6F 74 6F 4E 6F 72 74 68 04 00 04 00 30 82 02 21 04 0B 80 00 00 A1 03 00 0C 29 CE 6F 41 04 06 6E 6F 41 75 74 68 A7 82 02 08 02 04 00 CE 3C F6 02 01 00 02 01 00 30 82 01 F8 30 10 06 08 2B 06 01 02 01 01 03 00 43 04 0A 70 7C 65 30 19 06 0A 2B 06 01 06 03 01 01 04 01 00 06 0B 2B 06 01 04 01 81 21 03 0A 68 01 30 13 06 0C 2B 06 01 04 01 81 21 03 0A 69 03 00 02 03 0B 94 56 30 36 06 0C 2B 06 01 04 01 81 21 03 0A 69 04 00 04 26 6D 6E 72 5F 67 67 6D 38 30 30 30 5F 65 74 68 65 72 6E 65 74 5F 77 61 6E 5F 69 6E 74 65 72 66 61 63 65 2E 31 2E 35 30 11 06 0C 2B 06 01 04 01 81 21 03 0A 69 05 00 02 01 04 30 4A 06 0C 2B 06 01 04 01 81 21 03 0A 69 06 00 04 3A 31 30 2E 31 2E 32 2E 32 34 39 3A 6D 6E 72 5F 67 67 6D 38 30 30 30 5F 65 74 68 65 72 6E 65 74 5F 77 61 6E 5F 69 6E 74 65 72 66 61 63 65 3A 31 37 32 2E 32 34 2E 32 38 2E 31 30 30 34 06 0C 2B 06 01 04 01 81 21 03 0A 69 07 00 04 24 45 74 68 65 72 6E 65 74 20 57 41 4E 20 49 6E 74 65 72 66 61 63 65 73 20 31 37 32 2E 32 34 2E 32 38 2E 31 30 30 26 06 0C 2B 06 01 04 01 81 21 03 0A 69 08 00 04 16 7A 30 31 6E 6D 64 30 30 32 72 32 2E 6E 6D 64 32 2E 7A 6F 6E 65 31 30 11 06 0C 2B 06 01 04 01 81 21 03 0A 69 09 00 02 01 06 30 25 06 0C 2B 06 01 04 01 81 21 03 0A 69 0A 00 04 15 31 30 2E 31 2E 32 2E 32 34 39 3A 4D 6E 72 47 47 4D 38 30 30 30 30 1B 06 0C 2B 06 01 04 01 81 21 03 0A 69 0B 00 04 0B 07 DE 04 1C 13 2D 00 09 2B 08 00 30 1B 06 0C 2B 06 01 04 01 81 21 03 0A 69 0C 00 04 0B 07 DE 04 1C 13 2D 00 00 2B 08 00 30 4B 06 0C 2B 06 01 04 01 81 21 03 0A 69 0D 00 04 3B 55 70 2C 20 53 74 61 74 69 73 74 69 63 20 4D 65 61 73 75 72 65 6D 65 6E 74 20 57 69 74 68 69 6E 20 43 6F 6E 66 69 67 75 72 65 64 20 54 68 72 65 73 68 6F 6C 64 20 56 61 6C 75 65
Alonso

From: USA
Posts: 6
Member Since: 05/01/14
posted May 1, 2014 5:27 AM

error occur on line 58:
MessageBase request = manager.Receive();

error description:out of index
Nick B (Admin)

From: Utica, NY USA
Posts: 572
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted May 1, 2014 1:17 PM

Hello,

What are you using to generate the trap?

Can you clarify what you mean by 'I can get the v3 trap on RFC1910 but RFC3411 trap'?
Alonso

From: USA
Posts: 6
Member Since: 05/01/14
posted May 1, 2014 10:00 PM

the RFC3411 package is created by my custom device
-image link: http://i.imgur.com/D50FhFn.png

the RFC1910 package is created by Paessler SNMP Tester
-image link:http://i.imgur.com/j4XmiI8.png
-Paessler SNMP Tester:http://www.paessler.com/tools/snmptester
Alonso

From: USA
Posts: 6
Member Since: 05/01/14
posted May 1, 2014 10:07 PM

more screenshot:
RFC3411
http://i.imgur.com/ZmOSRwc.png

RFC1910
http://i.imgur.com/ni8d9PK.png
Alonso

From: USA
Posts: 6
Member Since: 05/01/14
posted May 1, 2014 10:51 PM

oops , my fault
the tool to generate RFC1910 packge by using SnmpTrapGen
http://www.snmpsoft.com/freetools/snmptrapgen.html
Alonso

From: USA
Posts: 6
Member Since: 05/01/14
posted May 2, 2014 5:57 AM

oops , I found the issue that is my mistake , there isn't any problem anymore.
Reply | PowerSNMP for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX