Software or PHP/PERL scripts for simple network management?

Scott Weeks surfer at mauigateway.com
Mon Jun 18 18:07:42 UTC 2007




--- drew.weaver at 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



More information about the NANOG mailing list