RE: Length of string variable in a Trap

"Mike Ayers" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <83E753BE7B6A324ABB336245BAF1DAAC0705D6D2@mailserver.metatv-ds.metatv.com>
> From: [email protected] 
> [mailto:[email protected]] On 
> Behalf Of Edison C.
> Sent: Wednesday, August 29, 2007 10:12 PM

> What is the maximum length of a SNMP packet supported by 
> NET-SNMP? Is it
> 64KB since max size of UDP packet size is 64KB?

	To the best of my knowledge, that is correct, although I have never attempted a mega=packet.

> I am planning to have at-least 2 variables of 4096 length. Is that a
> cause for concern? 

	Yes.  The packet will almost certainly be fragmented (standard ethernet has a packet size limit of a little more than 1500 bytes, including header data), which may cause problems.  However, it is not necessarily undoable, as a 10K byte reassembly should not distress any remotely modern IP stack.  I am, of course, presuming that this trap will be sent infrequently.


	HTH,

Mike

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.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.