TCL'ing Your Router

From Braindisconnect
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

"Tcl stands for "tool command language" and is pronounced "tickle." Tcl is actually two things: a language and a library. First, Tcl is a simple textual language... Second, Tcl is a library package that can be embedded in application programs." - tcl.sourceforge.net/faqs

A simple Tcl ping script:

tclsh
foreach address {
1.1.1.1
1.1.1.2
1.1.1.3
1.1.1.4
} {ping $address}

Remember to quit tcl after the script has finished or tcl may interfere with router commands:

tclq

You can get a list of ip's by editing the output from each router with:

sh ip alias