Khalid,
 
Here is a reference to the TCL programming language
http://www.tcl.tk/about/language.html.    You will need to understand
the language syntax.     I have not been able to find and language
syntax on Cisco's univercd.   If you have a basic understanding of the
TCL language you can just build one of these at the end of your lab.   
 
Here is a sample TCL scripts that returns a basic "ok/failed" message.
 
proc ping-internal {} {
puts "Test Started"
foreach iplist {
1.1.1.1
2.2.2.2
3.3.3.3
4.4.4.4
} {if { [string match "*!!*" [ exec ping $iplist size repeat 3 ] ] } {
puts " $iplist -> OK"} else { puts " $iplist -> UnReachable"} } 
puts "Test Complete"
}
 
HTH,
 
Kevin Jutras

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of khalid aljorf
Sent: June 14, 2008 5:50 AM
To: [email protected]
Subject: [BULK] [OSL | CCIE_RS] TCL
Importance: Low


Greetings all,

is there any link on DocCD that teaches how to configure and use TCL
script to verify the connectivity by the end of the day?

regards


Reply via email to