TCL'ing Your Router

From Braindisconnect
Revision as of 08:26, 2 March 2015 by Jbutler (talk | contribs) (Created page with "Category:Networking "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 textua...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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