Max. varbinds of PDU

Thomas Natterer Thomas.Natterer____thalesatm.com
Tue May 13 09:16:02 CEST 2003


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