[snmp] Large Response Varbinds

Andrew Chandler andy at riftware.com
Thu Jul 31 12:25:42 BST 2008


Almost no device is going to send you back 10k worth of data in a single
packet.  With SNMP you are responsible for figuring out what the last item
is in the packet they sent you for your get_bulk and then you use that as
the seed of your next get_bulk to keep retrrieving until you get everything.
Most simulators (Mimic in my experience) can be set to emulate the
limitations of a real device - you would just need to tell them to also
limit their response in a configuration option so that you are testing
against a realistic scenario.
 

-----Original Message-----
From: snmp-bounces at snmp.westhawk.co.uk
[mailto:snmp-bounces at snmp.westhawk.co.uk] On Behalf Of krithi
Sent: Thursday, July 31, 2008 5:07 AM
To: List for discussion of the Westhawk SNMP stack
Subject: Re: [snmp] Large Response Varbinds

Dear Birgit,
I' am sorry for the confusion. I guess The agent limits its response With
further investigation with Wireshark Network Analyzer, I noticed that the
device sends back 1900 bytes of response.
When tested with a device simulator,  I am  able to receive 10k bytes of
data in a single GetBulk

Since the device sends back 1900 bytes (incl. the packet headers), I am now
doubtful whether the Agent is limiting or I am missing anything in capturing
the packets through my adapter

Thanks for your support

Krithinarayanan

 

Birgit Arkesteijn wrote:
> Dear Krithinarayanan,
>
> From your initial post, I take it that the agent does respond, but 
> limits its response? Or do I misunderstand and the agent doesn't send 
> a response at all?
>
> If the agent limits its response to your GetBulk request, you have no 
> option than to split your GetBulk into several requests.
>
> If the agent doesn't respond at all, hopefully you'll be able to 
> access the log files on the server and see what's going on.
>
> Cheers, Birgit
>
>
> On 31/07/08 08:56, krithi wrote:
>> Hi Birgit
>> Thanks for the reply
>> I am using SNMP v2. I was able to trace that the Server(Agent) does 
>> not respond
>>
>> Regards
>> Krithinarayanan
>
>
>

_______________________________________________
snmp mailing list
snmp at snmp.westhawk.co.uk
http://snmp.westhawk.co.uk/mailman/listinfo/snmp

--
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the snmp mailing list