You can end a TELNET or TN3270 session (close the connection) in
one of the following ways:
o At the remote host's system prompt, log out.
o At the remote host's system prompt, return to the TELNET or
TN3270 prompt and disconnect the session, as follows:
1. At the remote host's system prompt, press the TELNET/TN3270
escape character (Ctrl/] is the default).
2. At the TELNET or TN3270 prompt, enter either the DISCONNECT
or the close command.
1 – Example
The following example shows two ways to close connections:
% logout
%TELNET-S-REMCLOSED, Remote connection closed
-TELNET-I-SESSION, Session 01, host galaxy, port 23
TELNET>
TELNET> EXIT
$
% <Ctrl/]> (characters not echoed)
TELNET> DISCONNECT
galaxy.udp.com>
TELNET> DISCONNECT
%TELNET-S-LCLCLOSED, Local connection closed
-TELNET-I-SESSION, Session 01, host galaxy, port 23
TELNET>