[97511] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

Re: Software or PHP/PERL scripts for simple network management?

daemon@ATHENA.MIT.EDU (Leigh Porter)
Mon Jun 18 16:18:59 2007

Date: Mon, 18 Jun 2007 21:18:06 +0100
From: Leigh Porter <leigh.porter@ukbroadband.com>
To: surfer@mauigateway.com
Cc: nanog@merit.edu
In-Reply-To: <20070618110742.22A4BDC5@resin13.mta.everyone.net>
Errors-To: owner-nanog@merit.edu



Just out of interest, why are you looking at routing tables to find an 
available subnet?

--
Leigh Porter



Scott Weeks wrote:
>
> --- drew.weaver@thenap.com wrote:
>
>         Does anyone have a recommendation of any software products either commercial or freeware which will import the ip routing table from one of my routers/switches and display it in a sorted manner? We just need an easier distributed method than logging into our Black Diamond and typing sh iproute sorted every time we need to find an available subnet.
> --------------------------------------------------
>
>
>
> How about something like this on a *nix box?  The OID here is for Juniper...
>
> snmpwalk -Os -c public -v 1 111.111.111.111 1.3.6.1.4.1.2636.3.12.1.1 | cut -d "." -f 8-12 | cut -d " " -f1 | sort | uniq
>
> scott
>   

home help back first fref pref prev next nref lref last post