Pages

Thursday, February 5, 2015

TCLSH scripting for CCIE Study

I learned this from INE training videos, taught by Brian McGahan. A lot of people already share this out publicly. I mainly post this here to serve as my permanent notebook for my study


In a lab where I have 10 IPs I need to ping from 10 different routers, a tclsh script really speed up the process. I created the below script in Notepad

tclsh
foreach var {
192.1.1.1
192.1.1.2
192.1.1.3
192.1.1.4
192.1.1.5
192.1.1.6
192.1.1.7
192.1.1.8
192.1.1.9
192.1.1.10
} {ping $var
}

You can replace "ping" with "traceroute". Remember to enter "tclquit" once you're done.

Another note, notice the location of the brackets, this is the only syntax that actually works for me.

Have fun! 

24 comments:

  1. Replies
    1. IEEE Final Year Project centers make amazing deep learning final year projects ideas for final year students Final Year Projects for CSE to training and develop their deep learning experience and talents.

      IEEE Final Year projects Project Centers in India are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes, while specialists like the enjoyment in interfering with innovation.

      corporate training in chennai corporate training in chennai

      corporate training companies in india corporate training companies in india

      corporate training companies in chennai corporate training companies in chennai

      I have read your blog its very attractive and impressive. I like it your blog. Digital Marketing Company in Chennai

      Delete
  2. I feel satisfied to read your blog, you have been delivering a useful & unique information to our vision.keep blogging.
    Digital Marketing Course In Kolkata
    Web Design Course In Kolkata

    ReplyDelete
  3. This article will outline all the different strategies you should be aware of when it comes to soccer.

    best ias coaching in india

    ReplyDelete
  4. Escort Service In Gurgaon - Our call girls agency is ready to meet your all needs. They are enjoying most seductive female call Girls from different parts of the World. Have you ever date any female in your life? If no then you do not know the real taste of dating fun with a call girl. Then our Gurgaon Escorts service will help you to tackle your dreams with one of the independent female escort agencies.

    Escort Service In Gurgaon
    https://www.kajalvermas.com/escort-service-in-gurgaon/

    ReplyDelete
  5. Aagar aap bhi apne chote penis size ko lekar pareshan hain toh aap bhi penis badhane ki medication ka istmaal kare skte hain iske istmaal se aap apne penis ka size bada aur mota bhi kare payenge

    ReplyDelete
  6. kya aapki yoni se bhi safed pani jyaada niklne laga hain aur toh aur ab usme se bhoo bhi aati hain toh fr aap ko aaj hi safed pani ka ilaj krawan chaiye kyuki ye aap sexual bimariyon ki aur sanket hain aur ye aapki body kaafi jyaada harmful hain .

    ReplyDelete
  7. Directory For PlacesMarch 16, 2023 at 12:18 AM

    Directory for Places is free to use, making it accessible to everyone. https://mapishere.com/ There are no hidden fees or charges, and you don't even need to create an account to use the platform. This makes it an ideal resource for budget-conscious travelers or anyone looking to explore new places without breaking the bank.
    A business guide provides information and guidance on various aspects of business management and ownership.

    ReplyDelete