TCL'ing Your Router

From Braindisconnect
Revision as of 07: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

"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