TCL'ing Your Router

From Braindisconnect
Jump to: navigation, 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." -

A simple Tcl ping script:

foreach address {
} {ping $address}

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


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

sh ip alias