North American Network Operators Group

Date Prev | Date Next | Date Index | Thread Index | Author Index | Historical

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

  • From: Leigh Porter
  • Date: Mon Jun 18 16:22:50 2007

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

Leigh Porter

Scott Weeks wrote:

--- [email protected] 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 | cut -d "." -f 8-12 | cut -d " " -f1 | sort | uniq