Pages

Monday, December 29, 2014

Cisco TCL Ping script

TCL scripting is a useful tool during the lab and it be use to perform connectivity test by creating a simple ping script.

Go into the TCL shell by issuing the command

tclsh
Script
R1(tcl)#foreach address {
+>(tcl)#192.168.1.1
+>(tcl)#192.168.2.2
+>(tcl)#192.168.3.3
+>(tcl)#10.1.1.1
+>(tcl)#10.1.2.2
+>(tcl)#} { ping $address
+>(tcl)#}

Results

image

No comments:

Post a Comment