Use CTRL+C to stop Traceroute & Ping sequence

I’ve got used to end a traceroute or a ping sequence on a Cisco IOS device using CTRL+C instead of the unpractical CTRL+Shift+6.
  As Wikipedia says, CTRL+C is used to abort the current task and regain user control and that’s what we want to do from our SSH/Telnet client (SecureCRT, Putty…).

Just add this command to your vty or console line on the configuration: “escape-character 3”.

E.g.

line vty 5 15
exec-timeout 30 0
password 7 *******
login local
escape-character 3

Now the ASCII character table is changed and you can use the famous CTRL+C for ending a traceroute/ping sequence.

 

 

 

Leave a comment

Your email address will not be published. Required fields are marked *