Re: the mechanisms of retrieving table

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2008/6/26 rajesh <[email protected]>:
> Request :
>   snmptable -v 2c -c  public 10.0.2.105 .1.3.6.1.2.1.4.21.1.13.0 .
> Response:     Was that a table? RFC1213-MIB::ipRouteInfo.0 .
>
> Can I know why I am getting the Response like this .

Because you have given the OID of an (incomplete) instance
within the table.   Not the OID of the table as a whole.

snmptable works with complete tables, and you *MUST*
give it the OID of the table object - ipRouteTable.
Not  ipRouteEntry, not any of the column objects (ipRouteInfo, etc)
and not any partial or full instance within the table (e.g. ipRouteInfo.0)

Try
    snmptable -v 2c -c  public 10.0.2.105 .1.3.6.1.2.1.4.21

Dave

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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.