10-6
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 10 Checking Port Status and Connectivity
Changing the Logout Timer
Note
To establish a Telnet connection to a host by using the hostname, configure and enable DNS.
To establish a Telnet connection to another device on the network from the switch, enter this command:
This example shows how to establish a Telnet connection from the switch to the remote host named
labsparc:
Switch#
telnet labsparc
Trying 172.16.10.3...
Connected to labsparc.
Escape character is '^]'.
UNIX(r) System V Release 4.0 (labsparc)
login:
Changing the Logout Timer
The logout timer automatically disconnects a user from the switch when the user is idle for longer than
the specified time. To set the logout timer, enter this command:
Monitoring User Sessions
You can display the currently active user sessions on the switch using the
show users
command. The
command output lists all active console port and Telnet sessions on the switch.
To display the active user sessions on the switch, enter this command:
This example shows the output of the
show users
command when local authentication is enabled for
console and Telnet sessions (the asterisk [*] indicates the current session):
Switch#
show users
Line User Host(s) Idle Location
* 0 con 0 idle 00:00:00
Command
Purpose
Switch#
telnet
host
[
port
]
Opens a Telnet session to a remote host.
Command
Purpose
Switch#
logoutwarning
number
Changes the logout timer value (a timeout value of 0 prevents idle
sessions from being disconnected automatically).
Use the
no
keyword to return to the default value.
Command
Purpose
Switch#
show users [all]
Displays the currently active user sessions on the
switch.
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...