10-27-2009 07:29 AM
Hi all. I ran below script on my router for some testing purpose
foreach address {
10.1.1.1
10.1.1.2
10.1.1.3
.
.
.
10.1.1.254
} { ping $address re 2
}
As you can see this will ping the entire subnet. But after executing it, is there any way to kill this process ? any way of terminating it ?
Kindly guide me
10-27-2009 07:32 AM
You can try either Control+^ then x or Control+C. Depending on the version of IOS, one of those should work.
10-28-2009 01:57 AM
Dear Sir, its not working, my IOS is 12.4(20)T. router is 2801. I tried all the combinations
ctrl + c
ctrl + z
ctrl + shift + 6
None is working. Can you tell me how to terminate it ?
Thanks in advance
10-28-2009 09:35 AM
After cntrl+shift+6, did you type 'x'? If that's not working, try clearing the vty line on which the Tcl script is running.
10-30-2018 09:28 AM
The cntrl+shift+6, then 'x' combination works to some degree. It stops the current ping (or whatever command is running in your script) and goes to the next iteration in the loop. Clearing the vty line would definitely be faster, unless all your vty lines are in use by someone else and you have no idea who to contact to clear your line for you. :-)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide