Hi,

Thanks for the info. 

On our systems, the net-snmp version is 5.0.1 which doesnot have the
ipCidrRouteNumber. Can I directly upgrade the snmp version to latest
one with the rmp available on the net-snmp.org?

Also, I have gone thorugh the > walking a column of the ipRouteTable.
The child for  (like ipRouteDest) and counting the number ipRouteTable
is ipRouteEntry which has many child nodes like ipRouteDest(1),
ipRouteIfIndex(2), ipRouteMetric1(3),  ipRouteMetric2(4), 
ipRouteMetric3(5),  ipRouteMetric4(6)  etc. snmpwalk through this
ipRouteEntry gives the following results.

RFC1213-MIB::ipRouteDest.0.0.0.0 = IpAddress: 0.0.0.0
RFC1213-MIB::ipRouteDest.127.0.0.0 = IpAddress: 127.0.0.0
RFC1213-MIB::ipRouteDest.172.17.12.0 = IpAddress: 172.17.12.0

Please let me know how to count the number of responses from this and
also what would that response stand for?

Thanks and Regards
Murali

On Thu, 18 Nov 2004 09:18:34 -0500, Users Robert Story
<[EMAIL PROTECTED]> wrote:
> KMG> -----Original Message-----
> KMG> Bestha Sent: Thursday, November 18, 2004 11:53 AM
> KMG> I have a requirement to find out the routing data size/forwarding data
> KMG> size by a router machine. The router could be a Linux Server or a HP-UX
> KMG> machine. Can anybody please let me know what are the corresponding OIDs?
> 
> On Thu, 18 Nov 2004 12:43:16 +0530 Kurapati wrote:
> KMG> Refer to ipCidrRouteNumber in RFC2096, if I understand your question
> KMG> correctly.
> 
> Unfortunately, that object isn't implemented yes in net-snmp.
> 
> The best bet that is currently going to work for HP-UX and Linux is going to 
> be
> walking a column of the ipRouteTable (like ipRouteDest) and counting the 
> number
> of responses. Warning: for machines with large route tables (several thousand
> routes), this will take a while, and the timeout may need to be set really 
> high
> (like 30 seconds or more, depending on the table size).
> 
> The inetCidrRouteTable, new in 5.2 for Linux (any volunteers to port to HP-UX
> or other platforms?), is much faster, at the expense of being a bit of a 
> memory
> hog.
> 
> --
> Robert Story; NET-SNMP Junkie
> Support: <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.
>


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.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

Reply via email to