Network Administrator need to perform a lot of repetitive activities in network like ping multiple IPs to check their availability. These activities are time consuming and tiring too. Good news – This all can be done at one go. As from Cisco IOS 12.2(25) , TCL scripting has been made part of cisco IOS . All one needs is the basics – To access the tcl command line in Cisco router issue the “tclsh” command. For the ping script just modify the ip addresses what is shown below and it should be good.
Note – in below case , we are trying to ping 5 IP addresses.
The word “address” here is just a variable, you can substitute this with anything you want. Now lets try applying this to the Cisco router.
That’s it!!! Isn’t this simple and helpful ? Infact many CCIE candidates also use this script to save on time . One can try this on GNS3 or dynamips lab and test the output. All the best !!!