2011/1/13 Yufeng Zhu <[email protected]>:
> But I tried “snmpgetnext” command on the failed OID and it can return the
> next OID correctly.

The real test is what happens if you try "snmpgetnext" on the OID immediately
*before* the failed one.  What does that report?


> Is the “getnext” command different from “snmpwalk” and “snmpgetnext”

The commands "snmpgetnext" and "snmpwalk" both use the underlying
SNMP operation  GetNext.

The main difference is that snmpgetnext is a one-shot command,
that sends a single GetNext request, and reports the results regardless.
snmpwalk sends a *series* of GetNext requests, and will stop reporting
when it gets a response that it doesn't like.

So for low-level debugging, "snmpgetnext" tends to be more useful,
particularly if "snmpwalk" is giving odd results.

Dave

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to