46 - 238
CCNA 2: Routers and Routing Basics v3.1 Instructor Guide – Module 4
Copyright
©
2004, Cisco Systems, Inc.
4.2.3 Disconnecting and suspending Telnet sessions
Network administrators may need to establish multiple Telnet sessions. The keystroke
Ctrl
-
Shift
-
6
and then the letter
X
can be used to suspend a current Telnet session. The suspend
feature can be used to establish an additional Telnet session to another device. The
show
sessions
command displays a numbered list of current Telnet sessions like the following
example.
Conn Host Address Byte Idle Conn Name
1 lab-a 192.168.10.1 0 0 lab-a
* 2 lab-e 192.168.10.1 0 0 lab-e
A connection can be resumed by selecting the corresponding number.
The
disconnect
command will terminate a specific Telnet session.
The procedure for disconnecting a Telnet session is as follows:
•
Enter the
disconnect
command.
•
Follow the command with the name or IP address of the router.
•
Example: Denver>
disconnect
paris
The procedure for suspending a Telnet session is as follows:
•
Press
Ctrl
-
Shift
-
6
and then the letter
X
.
•
Enter the name of the router or IP address of the next connection.
Students often think that the
Ctrl
-
Shift
-
6
, then
X
sequence will terminate a Telnet session.
They need to understand that this only suspends the session. They also need to know how to
resume and terminate a session
4.2.4 Advanced Telnet operation
A user may have multiple Telnet sessions open at the same time. The number is limited by the
session limit. The user can switch between these sessions with the
Ctrl
-
Shift
-
6
and then
X
key sequence. To resume a Telnet session, the
resume
command with the session id may be
used. The connection id of all open Telnet sessions can be viewed with the
show sessions
command.
Command Purpose
Ctrl
-
Shift
-
6
then
X
Escapes the current connection and
returns to the EXEC prompt
resume
Makes the connection
The
resume [session number]
command can be used to resume a Telnet session. The
process id of a session can also be entered to resume the session.