“verify end-to-end connectivity”

I love it when the practice labs say “verify end-to-end connectivity”. Yes, this means we must be able to ping everything. There is no way we have time to ping every IP in the lab manually. I’ve started using TCL scripts to do so. See below.

Just paste this in your router (edit the IP addresses) and you’re good to go::

tclsh
foreach address {
192.168.4.4
192.168.5.5
192.168.6.6
192.168.7.7
192.168.8.8
192.168.9.9
} { ping $address re 3 si 100

I set it to ping 3 times with a size of 100 bytes. Keep the size small so the serial links don’t slow you down. I think 3 pings is enough time for ARP to do its thing. Take 10 minutes to write down all the interface/loopback IP addresses and this will save you some time. Don’t forget to test on all routers. Also, I don’t think switches support TCL.

2 Responses to ““verify end-to-end connectivity””

  1. Richard Bannister says:

    Hi,

    Switches don’t support TCL but they do support macro’s –> http://blog.internetworkexpert.com/2008/02/22/using-tcl-and-macro-ping-scripts-for-ccie-lab-reachability-testing/

    Richard

  2. Gabriel says:

    Hi buddy!

    Nice blog! I also work at Cisco, can you send me your Id to my E-mail? I’ve added it at the Mail field used to input this comment. I would be nice to talk to you via Same Time.

    Let me know!

    Ps: I’m from TAC.

    Gabriel.

Leave a Reply