How to stop a telnet session in IOS?

Answered Question
Jun 27th, 2007
User Badges:

When I try to telnet but get no reply, if I want to stop the session, is there any way for that? Ctrl+c is not working. Ctrl+shift 6 neither.


Thanks

Correct Answer by Edison Ortiz about 9 years 12 months ago

If the CTRL-SHIFT+6+X combination doesn't work for you, you can try minimizing the wait with the command


ip tcp synwait-time


lower the wait-time to 5 seconds.


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.8 (7 ratings)
Loading.
mohammedmahmoud Wed, 06/27/2007 - 12:11
User Badges:
  • Green, 3000 points or more

Hi,


If you are trying to telnet from a cisco router to a cisco router, then use the ctrl+shift+6 then release all and press x, and then type disconnect and press enter.


HTH,

Mohammed Mahmoud.

Richard Burts Wed, 06/27/2007 - 12:12
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Yi


Try typing X after you have done the Ctrl+shift 6 combination. That should suspend the telnet that is in process. You can then type disconnect to terminate the telnet.


HTH


Rick

hy123 Wed, 06/27/2007 - 12:20
User Badges:

Thanks a lot for the answers.


However, the problem is if the telnet session is not up when the remote end is not responding, there seems no way to stop it, right?

Jonathon Porter Sat, 03/18/2017 - 15:11
User Badges:

Thanks this is the correct way to break the session and should have been the voted answer;)  "CTL+SHIT+6 release and then X"

the original answer did not work with  pressing all of the them as implied. 


* further to add, you must also type exit when it returns you to the prompt to close the sessions

Correct Answer
Edison Ortiz Wed, 06/27/2007 - 12:21
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

If the CTRL-SHIFT+6+X combination doesn't work for you, you can try minimizing the wait with the command


ip tcp synwait-time


lower the wait-time to 5 seconds.


hbackus Mon, 05/13/2013 - 14:12
User Badges:

Old post but still valid, thanks to those who went before............

Actions

This Discussion