Breakout key sequence for Cisco

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?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Garry GlendownConsulting and Network/Security SpecialistCommented:
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 ...
Dragon0x40Author Commented:
so are you saying hold ctrl-shift and press 6 and then x? then let go of ctrl-shift
Dragon0x40Author Commented:
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.
Garry GlendownConsulting and Network/Security SpecialistCommented:
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


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Dragon0x40Author Commented:
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)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.