cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3199
Views
0
Helpful
4
Replies

Kill Tcl process !

illusion_rox
Level 1
Level 1

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

4 Replies 4

Joe Clarke
Cisco Employee
Cisco Employee

You can try either Control+^ then x or Control+C. Depending on the version of IOS, one of those should work.

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

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.

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.  :-)

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: