Breakout key sequence for Cisco

Posted on 2011-10-10
Medium Priority
Last Modified: 2012-05-12
I don't always get the same results when trying to exit a telnet session, a traceroute that is timing out etc.

My understanding is the official way is to: hold down three keys all at once ctrl-shift-6 and then release all keys and hit the x key.

It seems that once will not always exit and I must repeat this several times.

I also remember just holding down ctrl-shift-6 and releasing all keys. Do this several times and the router takes me back to the prompt.

Am I just imagining this?
Question by:Dragon0x40
  • 3
  • 2
LVL 18

Expert Comment

by:Garry Glendown
ID: 36943800
Yes, the "need to do it several times" does apply to certain things, e.g. during traceroute/ping. Not too sure what priority the break-sequence recognition has in Cisco IOS, but assume that during certain operations, querying for the sequence is not executed, and the sequence does not seem to be buffered, so you need to repeat ... you can stay on the ctrl-shift, though ... doesn't hurt ...

Author Comment

ID: 36944007
so are you saying hold ctrl-shift and press 6 and then x? then let go of ctrl-shift

Author Comment

ID: 36944034
I got into a conversation with someone and I told them you don't need to press x after ctrl-shift-6?

The documentation says ctrl-shift-6 x.  I thought that might mean ctrl-shift-6 multiple times. As in x amount of times.
LVL 18

Accepted Solution

Garry Glendown earned 2000 total points
ID: 36944132
The "x" is needed to return from a remote session. The ctrl-shift-6 is the actual escape key, following it with another ctrl-shift-6 is the official "break" sequence.
In telnet mode, there are some additional keys you can press to send special codes:
  ^^B  sends telnet BREAK
  ^^C  sends telnet IP
  ^^H  sends telnet EC
  ^^O  sends telnet AO
  ^^T  sends telnet AYT
  ^^U  sends telnet EL

Open in new window


Author Comment

ID: 36945959
I looked them up and I am not sure when I would use any of them.

In this sample output, the first caret (^) symbol represents the Ctrl key, and the second caret represents Shift-6 on your keyboard:

Break would be three keys ctrl-shft-6 all at once then let go and then hit B?

I used ctrl-shft-6 and then x to break out of the telnet session.


Ctrl-^ b                                    Break
Ctrl-^ c                                    Interrupt Process (IP)
Ctrl-^ h                                   Erase Character (EC)
Ctrl-^ o                                   Abort Output (AO)
Ctrl-^ t                                    Are You There? (AYT)
Ctrl-^ u                                   Erase Line (EL)

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Security is one of the biggest concerns when moving and migrating your data from your on-premise location to the Public Cloud.  Where is your data? Who can access it? Will it be safe from accidental deletion?  All of these questions and more are imp…
If you are thinking of adopting cloud services, or just curious as to what ‘the cloud’ can offer then the leader according to Gartner for Infrastructure as a Service (IaaS) is Amazon Web Services (AWS).  When I started using AWS I was completely new…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question