creative shows to get IPs for TCL ping sweep

From: Hammer <bhmccie_at_gmail.com>
Date: Wed, 3 Jun 2009 11:24:45 -0500

All,
    I've come up with several ways to quickly list just the IPs on
interfaces on a router. What I can't come up with is a method to get me JUST
a raw list of IPs. So that I could quickly pull the output and paste it into
notepad as part of a TCL "script" for ICMP checks.

examples:
     sho run | in add
     sho ip int bri
     sho interf | in Intern

I would like the resulting output to just be the raw IPs.

Like so:

150.108.2.2
150.108.5.5
150.108.6.6
150.108.7.7
10.4.4.4

Anyone have any ideas on this. Based on my testing, I am not sure if it can
be done. I'll just copy/paste all the IPs one at a time or something. If you
have any ideas let me know. Thanks!

-Hammer

Blogs and organic groups at http://www.ccie.net
Received on Wed Jun 03 2009 - 11:24:45 ART

This archive was generated by hypermail 2.2.0 : Wed Jul 01 2009 - 20:02:36 ART