Re: SNMP quandry

From: Hank Nussbacher (hank@att.net.il)
Date: Wed Jan 09 2002 - 00:36:07 EST


At 09:58 AM 08-01-02 -0800, R.P. Aditya wrote:
>On Tue, Jan 08, 2002 at 07:50:30PM +0200, Hank Nussbacher wrote:
> > snmpget router-ip public .1.3.6.1.2.1.4.21.1.7.192.168.168.0
> >
> > ip.ipRouteTable.ipRouteEntry.ipRouteMask.192.168.168.0 = IpAddress:
> > 255.255.255.240
>
>Try just:
>
> snmpget router-ip public .1.3.6.1.2.1.4.21.1.7.192.168.168
>
>And that should give you all the routes that start with 192.168.168

Thanks! But if the prefix starts with a /8 - 32.x.x.x (example), then the
check for all prefixes would have to be something like

.1.3.6.1.2.1.4.21.1.7.32

If it is a single company owned /8 with a few additional larger blocks,
that is fine. But if it is something like a RIPE allocated block like
62.0.0.0/8, then the amount returned would be too much. No Cisco MIB out
there?

-Hank

>Adi



This archive was generated by hypermail 2b29 : Sun Aug 04 2002 - 04:12:59 EDT