Max. varbinds of PDU

Frank.Fock____t-online.de Frank.Fock____t-online.de
Tue May 13 19:43:28 CEST 2003


Hello Thomas,

If I rember it correctly, you did not write 
in your first which SNMP version you were 
using. I assumed SNMPv1/v2c. When using SNMPv3,
the requesting entity puts a maxMessageSize
value in the request, which indicates the max.
message length it would accept. May be this 
is set to low by your manager (NET-SNMP?).

With the sniffer you should be able to see
that value in the manager's request. If it
is OK, then it could be a bug with AGENT++.
(which I would then fix, of course) 

Best regards,
Frank

Thomas Natterer schrieb:
> Frank Fock wrote:
> > 
> > Thomas,
> > 
> > Probably MAX_SNMP_PACKET size is too small for more
> > than 57 VBs of your table instance.
> > 
> > Best regards,
> > Frank Fock
> > 
> 
> Hey Frank,
> 
> I changed the MAX_SNMP_PACKET to 8192 (16384) 
> 
> I verify with ethereal ...
> 1.) The length of the Response is less than 16384 (4096
> or 8192)
> 2.) Max SNMP size is 16384 byte (as defined in
> MAX_SNMP_PACKET)
> ... 
> User Datagram Protocol, Src Port: 4702 (4702), Dst Port:
> 52011 (52011)
>     Source port: 4702 (4702)
>     Destination port: 52011 (52011)
>     Length: 1475
>     Checksum: 0xef78 (correct)
> ...
> Simple Network Management Protocol
>     Version: 3
>     Message Global Header
>         Message Global Header Length: 16
>         Message ID: 769658959
>         Message Max Size: 16384
> ...
> 
> The debug output from the agent gives a MsgLength of 1463
> byte (0x5b7)
> 
> ...
> Coding octstr securityParameter, length = 0x35
> Coding sequence (wholeMsg), length = 0x5b7
> v3MP finished OK.
> ...
> 
> But still I get max 57 varbinds from my example table.
> 
> If I use snmpbulkget with no privacy (authNoPriv) I get
> 58 varbinds !
> :-)
> 
> Regards Thomas
>



More information about the AGENTPP mailing list