This is a discussion on RE: Length of string variable in a Trap within the SNMP Users forums, part of the Networking and Network Related category; Thanks Mike. What is the maximum length of a SNMP packet supported by NET-SNMP? Is it 64KB since max ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Thanks Mike.
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? I am planning to have at-least 2 variables of 4096 length. Is that a cause for concern? Thanks Edison -----Original Message----- From: Mike Ayers [mailto:mike_ayers@tvworks.com] Sent: Wednesday, August 29, 2007 12:53 AM To: Edison C.; net-snmp-users@lists.sourceforge.net Subject: RE: Length of string variable in a Trap > From: net-snmp-users-bounces@lists.sourceforge.net > [mailto:net-snmp-users-bounces@lists.sourceforge.net] On > Behalf Of Edison C. > Could someone let me know what is the maximum length of a > string that can be stored in a varbind(part of the variable > list) in a Trap? 65,535 8-bit bytes. If you are going to deal with large strings, make certain that you are using the byte length and not the character length, which can be less than a quarter of the byte length in extreme circumstances! 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 Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users |