snmptrap

pch0317 <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello,
I have problem. I send SNMPv2 Trap message and analyse packet. But I 
don't understand some bytes.
I type:
snmptrap -v 2c -c private 127.0.0.1 5 1.3.6.1.2.1.1.1.0
and I receive:
30 43 02 01 01 04 07 70 72 69 76 61 74 65 A7 35 02 04 64 AF 4E 32 02 01 
00 02 01 00 30 27 30 0D 06 08 2B 06 01 02 01 01 03 00 43 01 05 30 16 06 
0A 2B 06 01 6F FD 02 4A AE 92 08 00 5E 00 00 00 8B 00 00 00 00

I know that:
30 43 - is a type and length of message
02 01 01 - is a type, length and snmp version (SNMPv2 here)
04 07 70 72 69 76 61 74 65 - type, length and string "private"
A7 35 - is it a type of message (Trap v2) and length of it
02 04 64 AF 4E 32 - is a type length and ??? Is it a number of message? 
Why its length is 4 bytes?
02 01 00 02 01 00 - is a type, length and value of error status and 
error index
30 27 - type and length
30 0D - type and length
06 08 2B 06 01 02 01 01 03 00 43 01 05 - ??? It is similar to 
1.3.6.1.2.1.1.1.0
30 16 - type and length
06 0A 2B 06 01 6F FD 02 4A AE 92 08 00 5E 00 00 00 8B 00 00 00 00 - ???

Please, help me where is "???" sign. Do I write correctly the snmptrap 
command?
Thanks
pch0317

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com

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