On Fri, 2005-06-24 at 07:33, aakansha rajvi wrote:

> I want to capture the snmp packets alone as a result of snmpget
> and snmpset operations.
> I want to know how to frame the "tcpdump" command to do this. 

Untested, but something like

        tcpdump   udp port 161

should do the trick.
You might want to add the option '-T snmp' if it's supported,
as that should format the SNMP packet more readably.

Alternatively, you could use the option '-Ddump' to either the
SNMP agent, or the snmpget/set command, which would display the
packets as they're sent or received by the agent/client.

Dave




-------------------------------------------------------
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_id=7477&alloc_id=16492&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to