First of all please excuse me to ask an out-of-topic question, but
with a hope that there may be some experts since this question is
somewhat related to snmp.

I am running agent in my pc say 192.168.9.1 and port 161.

I want to capture the snmp packets alone as a result of snmpget and
snmpset operations.
I am going to do snmpget or snmpset from pc itself ie., src host and
dst host is 192.168.9.1.

I want to know how to frame the "tcpdump" command to do this. 

Once again sorry. 


On 6/23/05, Dave Shield <[EMAIL PROTECTED]> wrote:
> On Thu, 2005-06-23 at 12:42, aakansha rajvi wrote:
> > The Read-only oid I had mentioned in my previous post is not in
> > the source code that I attached the first.
> 
> Fair enough.
> What does the registration code for this MIB object look like?
> 
> > Actually it is an oid having read-only access in the MIB. Since this
> > is a read-only, I am having MODE_GET alone in my compiled C file.
> 
> The MIB file isn't actually used by the agent (apart from guiding
> the development of the initial template).  All that matters
> is the code.
> 
> 
> > I dont know how it is looking for SET_RESERVE1 or SET_ACTION
> > for this read-only oid?
> 
> Because it received a SET request, and this isn't being blocked
> by the higher-level agent processing.
> 
   In our application SET request is performed for this read-only oid
and I just now got to know this.

> That brings us back to the code for the initial registration of
> the object.  What does this look like?
> 

    Registration is made as RONLY . Shall I change this RONLY to RWITE
in initial registration of the object and introduce SET_ACTION etc.,
Will it work?


Thanks


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to