Changing The Logout Timer - Cisco Catalyst 4500 Series Configuration Manual

Release ios xe 3.3.0sg and ios 15.1(1)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 8
Checking Port Status and Connectivity
To establish a Telnet connection to a host by using the hostname, configure and enable DNS.
Note
To establish a Telnet connection to another device on the network from the switch, enter this command:
Command
Switch# telnet host [port]
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:
Command
Switch# logoutwarning number
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:
Command
Switch# show users [all]
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
*
0 con 0
OL-25340-01
Line
User
Host(s)
idle
Purpose
Opens a Telnet session to a remote host.
Purpose
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.
Purpose
Displays the currently active user sessions on the
switch.
Idle
00:00:00
Software Configuration Guide—Release IOS XE 3.3.0SG and IOS 15.1(1)SG
Changing the Logout Timer
Location
8-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents