[mrtg] Re: Routing Table Size

Chris Burton Chris.Burton at dig.com
Mon Jul 22 08:12:20 MEST 2002

Hash: SHA1

	I have been able write a couple of Perl scripts that actively poll
the device via SNMP and get the total number of routes by using the
SNMP get-bulk/get-next to pull the routes and then calculating the
total.  I thought it would be nice to be able to use MRTG to graph
the total, in order to give a graphical baseline on our routing table
size through out the internal OSPF and EIGRP domains.  I can easily
view the BGP table size there seem to be quite a few web sites that
show the overall Internet BGP routing table size.  Thank you for all
that have responded.

Chris Burton
Network Engineer
Disney Internet Group: Network Services
chris.burton at dig.com
Work: 206.664.4833
Mobile: 425.591.4805

- -----Original Message-----
From: Rich Adamson [mailto:radamson at routers.com] 
Sent: Sunday, July 21, 2002 8:22 PM
To: mrtg at list.ee.ethz.ch
Cc: Chris Burton
Subject: Re: [mrtg] Re: Routing Table Size

None of the router vendors provide an snmp mib that would indicate 
the total number of routes in their routing table. Would be kind of
nice though.
As network consultants we've written a small application that
the route broadcasts (eg, rip, ripv2, ospf, igrp) and logs changes.
But it would not be something that you'd want to use. If you are
using rip, it shouldn't be that hard to write something to do the
equivalent and drop that number to mrtg.

> 	Unfortunately I believe I did ask the wrong question.  My problem
> is that I cannot find any OID that will give you the total number
> of
> routes, the only thing I have found so far is the standard routing
> table entries (Source, Destination, Next Hop) when trying to poll a
> Cisco device (12000 GSR, 6500MSFC, 8400).  Currently the only way I
> have been able to extract the information that I need is to write a
> script to go out and poll the device and calculate the number of
> routes.

Version: PGP 7.0.1


Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the mrtg mailing list