Cisco Catalyst 2000 Configuration Handbook page 27

Catalyst series lan switching
Table of Contents

Advertisement

6 Cisco LAN Switching Configuration Handbook
Terminal sessions.
3.
a. Start a new session:
b. Name a session:
c. Suspend a session to do something else.
Note You can have nested Telnet sessions open. For example, from the local switch, you
can Telnet to another switch A, and then Telnet on to another switch B, and so forth. To
suspend one of these sessions, you must also nest your escape sequences. Typing a single
Ctrl-^x suspends the session to switch A and returns you to the local switch. Typing Ctrl-
^ Ctrl-^x suspends the session to switch B and returns you to switch A's prompt. (Only
type the x at the final escape sequence.)
d. Show all active sessions:
e. Return to a specific session.
Switch# telnet host
This initiates a Telnet connection to host (either an IP address or a hostname).
Then from the switch CLI, you can continue to communicate with the remote
host.
Switch# name-connection
Switch# Connection number: number
Switch# Enter logical name: name
An active session can be assigned a text string name to make the session easier
to identify with the show sessions or where command.
During an active Telnet session to a host, type the escape sequence Ctrl-Shift-6
followed by an x (that is, press Ctrl, Shift, and 6 together, let up on all the keys;
then press the letter x) to suspend the session. The suspend sequence is some-
times written as Ctrl-^ x. This suspends the Telnet session and returns you to the
local switch command-line prompt.
Switch# show sessions
All open sessions from your connection to the local switch are listed, along with
connection numbers. You can also use the where command to get the same
information.
First, use the show sessions command to get the connection number of the
desired session. Then just type the connection number by itself on the command
line. The session will be reactivated. You can also just press Return/Enter at the
command-line prompt, and the last active connection in the list will be reactivat-
ed. The last active connection in the list is denoted with the asterisk (*). This
makes toggling between the local switch and a single remote session easier.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents