User guide
close
54 Chapter 2 Command Descriptions
close
Device support This command is supported in all devices.
Purpose Closes active connect, Rlogin, and Telnet sessions; that is, sessions
opened by "connect," "rlogin," or "telnet" commands.
The "close" command is associated with the sessions displayed by the
"status" command. That is, you can only close sessions that are displayed
by the "status" command by issuing a "close" command, and not by the
"kill" command. A "close" command issued without options closes the
current connection.
To issue the “close” command, you must escape the active session. To do
this, press the escape key defined for your session type. The following
table lists default escape keys.
Required
permissions
Anyone can use this command.
Syntax close [{*|connection number}]
Options *
Closes all active sessions.
connection number
Identifies the session to close by its session number.
Examples
Close a session identified by number
#> close 1
Close the current session
#> close
See also • "connect" on page 56.
• "exit" on page 62.
• "kill" on page 66. The kill command has a broader effect than “close,”
and lets you kill connections from the global list. That is, it is not limited
to sessions associated with the current connection.
• "mode" on page 67.
• "quit" on page 75.
• "reconnect" on page 76.
• "rlogin" on page 83.
Session Type Default Escape Keys
Connect Ctrl [ Enter
Rlogin ~ Enter
Telnet Ctrl ] Enter