TCLSH Scripting


Scenario:

To make your life easier you decided to practice some TCLSH scripting skills, this will ensure it takes less time to ping.

Goal:

  • All IP addresses are preconfigured as specified in the topology picture.
  • Ensure you can ping the loopbacks on PONG from router PING.
  • Create a TCLSH script that pings all the loopback ip addresses at once.

IOS:

c3640-jk9s-mz.124-16.bin

Topology:

TCLSH Scripting

Video Solution:

Configuration Files

You need to register to download the GNS3 topology file. (Registration is free!)

Once you are logged in you will find the configuration files right here.

Opt In Image
Do you want your CCNA or CCNP Certificate?

The How to Master series helps you to understand complex topics like spanning-tree, VLANs, trunks, OSPF, EIGRP, BGP and more.

Written by René Molenaar - CCIE #41726

You May Also Like

About the Author: Rene Molenaar

René - CCIE #41726 is the creator of GNS3Vault.com where he shares CCNA, CCNP and CCIE R&S labs. He also blogs about networking on http://networklessons.com

4 Comments

  1. very handy int he real world. but iv asked ppl around and they say it doesnt come in the CCIE lab…8)

  2. This is the script in case you are wondering:

    tclsh
    foreach address {
    (tcl)#172.12.23.2
    (tcl)#172.12.23.3
    (tcl)#172.12.23.4
    (tcl)#172.12.23.6
    (tcl)#172.12.23.7
    (tcl)#} { ping $address }

Comments are closed.