I would say (assuming securecrt), do 'sh ip int br | excl unassigned' and
then use alt and the left mouse button to highlight the column of IP
addresses and then paste those into your tcl script - it's probably the
easiest way.
Michael
On Wed, Jun 3, 2009 at 12:24 PM, Hammer <bhmccie_at_gmail.com> wrote:
> 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
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
Received on Wed Jun 03 2009 - 12:57:22 ART
This archive was generated by hypermail 2.2.0 : Wed Jul 01 2009 - 20:02:36 ART