Cisco IOS Telnet multitasking: If you want to keep an existing Telnet session connected and start another one from the same router, which key combination suspends the current Telnet and returns you to the router prompt so you can open a second session?

Difficulty: Easy

Correct Answer: Ctrl+Shift+6, then X

Explanation:


Introduction / Context:
In Cisco IOS, administrators often need to manage more than one Telnet session at the same time. Knowing the correct escape sequence lets you suspend a current Telnet connection without disconnecting it, return to the router prompt, and initiate an additional Telnet session.



Given Data / Assumptions:

  • You are connected to a remote device via Telnet from a Cisco router or switch.
  • You want to keep the first session active while starting a second one.
  • IOS default key bindings are in use (no custom terminal mappings).


Concept / Approach:
IOS provides a Telnet escape sequence. The default is pressing Ctrl+Shift+6 followed by X. This suspends the active Telnet session, returning you to the local IOS prompt. You can then open new sessions, resume existing ones with the 'resume' command, or close them with 'disconnect'.



Step-by-Step Solution:

From within an active Telnet session, press and hold Ctrl+Shift and tap 6.Release the keys and press X.You are returned to the IOS prompt without dropping the Telnet session.Start a second Telnet using 'telnet <ip>' or 'ssh <ip>' as needed.Use 'show sessions' to list suspended sessions, 'resume <line#>' to switch back, or 'disconnect <line#>' to close one.


Verification / Alternative check:
Run 'show sessions' to confirm the first Telnet session remains open. You should see one or more connections listed with line numbers and hosts.



Why Other Options Are Wrong:
Tab+Spacebar: Not an IOS escape sequence.



Common Pitfalls:
Mixing up the order (pressing X before Ctrl+Shift+6) or forgetting to release keys before pressing X will not trigger the escape. Also, some terminal emulators may remap Ctrl+6; verify key mappings if it fails.



Final Answer:
Ctrl+Shift+6, then X

More Questions from Managing a Cisco Internetwork

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion