Continuous ping from a router
A lot of people arriving to my blog ask about continuous ping performed from a router. Well, you cannot generate never-ending ping from a command line interface, but you can get pretty close with a very large repeat count:
- Before starting the ping, set the line escape character to something you can generate from your keyboard (otherwise you won't be able to stop end the command). For example, terminal escape 3 will set the escape character to Ctrl-C.
- Start the ping with the ping ip destination repeat very-large-value command. For example, ping ip 10.0.0.1 repeat 1000000 will ping the target host longer than you'll be willing to wait.
Today when I was configuring PIM, I needed a continuous ping within Cisco IOS...
Thanks for the info and thanks for spending your precious time for educating others... God bless you...
J Thomas,
Technical Trainer,
Joera Technology Labs,
http://www.joera.in