My Friends:




February 6, 2008

Menggunakan TCL Script

Filed under: cisco

Sedikit tips utk memudahkan kita mem-verifying network yg telah kita buat menggunakan script tclsh pada router cisco.
Sebenernya seh ini newbie banget..! Mungkin ada yg blom tau.. jadi bs bertambah lagi ilmunya, tips ini saya dapatkan dari ebook lab BCSI v5. :)
Tentunya tclsh ini bs berjalan klo IOS cisconya itu support utk script tclsh.

Contoh :

Router#tclsh
Router(tcl)#foreach address {
+>192.168.1.1
+>192.168.2.1
+>192.168.1.2
+>192.168.2.2
+>} {
+>ping $address
+>}
Router(tcl)#tclquit
Router#

Jadi yg "address" itu cmn variabel aja, dan nama itu bisa di gonta-ganti
Dah begitu doang koq caranya. Semoga berguna yah. :)

Best Regards,

Your friend

Comments »

The URI to TrackBack this entry is: http://ghozali.blogsome.com/2008/02/06/menggunakan-tcl-script/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



Anti-spam measure: please retype the above text into the box provided.