From: Darby Weaver (darbyweaver@yahoo.com)
Date: Mon Dec 10 2007 - 05:41:03 ART
Just remember this:
tclsh foreach a {
1.1.1.1
2.2.2.2
} {puts [ping $a r 1]}
tclquit
send *
sh ip alias
control-Z
Then go to each device and up arrow and copy/paste to
notepad.
Use Find/Replace and get rid of the extra text, wrap
it with you tcl.
Use the send * command from your TS to perform a ping
from all routers at one time.
Have fun... watching the fireworks.
Fix what you find.
Do it again.
Reload
Do it again.
End of day.... You know remember it well by now
right.
:)
Enjoy!!!
Darby
--- Graham Clarke <graham@cisco-engineer.com> wrote:
> Your not going to get a lot from the doccd
>
>
http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cr/hnm_r/nmg_04h.htm#wp1036199
>
> This is about yout lot, I think they are assuming
> you know TCL and use it to
> tie things together.
>
> If your intrested
>
> http://www.tcl.tk/
>
> and some basics
>
> http://en.wikipedia.org/wiki/Tcl
>
> and a good backroung here
>
>
http://www.cs.utah.edu/dept/old/texinfo/dejagnu/dejagnu_8.html
>
> I also bought a book with the intention of making a
> router do more, for
> example in the event of a type of log message bring
> an interface up etc
> using TCL, but most of the material out there is for
> web scripting.. so
> never had much luck beyond the ping script.
>
>
>
> On 10/12/2007, Ahmed Shahzad
> <m.ahmed.shahzad@gmail.com> wrote:
> >
> > Does any one know where to find TCL Script in
> Cisco UniverCD?
> > --
> > Regards,
> > Shahzad
> >
> >
>
This archive was generated by hypermail 2.1.4 : Tue Jan 01 2008 - 12:04:30 ARST