OID length

Chitrang Srivastava <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CANPP3o21y8WrX=HZ6wag+h246uCc1PSHvSGC8_R89nHzNzDmjw@mail.gmail.com>
Hi,

I am new to SNMP world, and trying to set(SNMPv2c) an OID , which is of
type *DisplayString*,

If string is huge like 1300 bytes or so , I see length in OID is encoded as
1296 (0x0510)

Byte stream I see on wire shark is like *0x04 0x82 0x05 0x10*

Why is that ? Is this SNMP v2c limitation or something ASN.1 related?

Please enlighten, Thanks

NB: If I use SNMPv3 i see length comes to 1200 (decrypted packet to check)

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet

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