Re: snmpget

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 12/11/2007, HongGuo Liu <[email protected]> wrote:
> But when i used snmpget to get ipNetToMediaNetAddress.1 it failed as follow:
>
> snmpget -v 2c -c public 192.168.17.42 RFC1213-MIB::ipNetToMediaTable.1
> IP-MIB::ipNetToMediaEntry = No Such Instance currently exists at this OID

That is correct - this particular table is not indexed by a single integer.
Try

   snmpgetnext -v 2c -c public 192.168.17.42 RFC1213-MIB::ipNetToMediaTable

to see the style of indexing for this table.
Then use "snmpget" with the same style of index values.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.