On Tue, 01 Jun 2004 11:18:44 -0600 Brian wrote:
BJ> The following "snmpget" command works as I expect:
BJ> 
BJ>   snmpget -v 2c -c public -m IF-MIB <host> ifDescr.1 ifSpeed.1
BJ> 
BJ>   IF-MIB::ifDescr.1 = STRING: lo
BJ>   IF-MIB::ifSpeed.1 = Gauge32: 10000000
BJ> 
BJ> but when I try to optimize things using "snmpbulkget", the
BJ> results are different:
BJ> 
BJ>   snmpbulkget -Cr2 -Cn0 -v 2c -c public -m IF-MIB <host> ifDescr.1
BJ>   ifSpeed.1
BJ> 
BJ>   IF-MIB::ifDescr.2 = STRING: eth0
BJ>   IF-MIB::ifSpeed.2 = Gauge32: 100000000

snmpbulkget is a bit of a misnomer, since it actually works like a getnext.

Try

  snmpbulkget -Cn2 -v 2c -c public -m IF-MIB <host> ifDescr  ifSpeed

-- 
Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
<irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
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