Re: get table

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2008/6/17 joy <[email protected]>:
>    since I couldn't find the 'ipRouteDest' in advance, is that mean I must
> try every possible ip address. Is there an faster way to get the table.

If you know the exact indexes of the information you need,
then you can use the GET request to retrieve exactly this info.
If you don't, then you should use the GETNEXT request to
walk through the table (or an individual column).

See any SNMP reference book for more details.


> could you give me an example?

The tools 'snmpwalk' and/or 'snmptable' are probably
doing something similar to what you're interested in.

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.