Re: MAXIMUN SIZE of a Display String

This is a discussion on Re: MAXIMUN SIZE of a Display String within the SNMP Users forums, part of the Networking and Network Related category; HELLO !!! I have read in rfc 1157: "Communication among protocol entities is accomplished by the exchange of messages, each ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-06-2005
Gemma Sanchez
 
Posts: n/a
Default Re: MAXIMUN SIZE of a Display String

HELLO !!!

I have read in rfc 1157: "Communication among protocol entities is
accomplished by the exchange of messages, each of which is entirely
and independently represented within a single UDP datagram using the
basic encoding rules of ASN.1. A message consists of a version
identifier, an SNMP community name, and a protocol data unit (PDU)."
and "An implementation of this protocol need not accept messages whose
length exceeds 484 octets. However, it is recommended that
implementations support larger datagrams whenever feasible."

When I asked <<I have read in the book "SNMP, SNMPv2, SNMPv3 and RMON
1 and 2" that the theoretical maximum size of a OCTECT STRING is 64
KB. I need to know if this limit is kept by net-snmp or if it imposes
another one. Another
question about this matter, would be any problem is transmit a such a BIG
piece of information? What maximum size do you advise me?>>

Robert Story answered me "It is the size limit of a UDP packet." and
"Very possibly, depending on the networks the packet has to traverse.
1492 should be a safe size that will avoid fragmentation on most
networks."

I have defined all my display strings with a maximum length of 1492
bytes and it works ok. Now, after reading rfc 1157 I am very confused
because I wonder how could a data of 1492 bytes fit in a message of
484 bytes.

Probably it is a very silly question. if so, please don`t take offence
with me and answer in spite of this.

Another question: Soon I will have to expoud my thesis to became a
doctor, I am sure the board will answer me reason of the election of
this maximum size of 1492 for my display strings. could you give me a
good answer for this quiestion?

Thank a lot for your answer and you attention.

gemma


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:44 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0