terminal session-timeout

To set the inactivity timeout for all sessions, use the terminal session-timeout command in the EXEC mode.

terminal session-timeout minutes

Syntax Description

terminal

The command to set the terminal line parameters.

session-timeout

The command that sets the inactivity time out of all the sessions.

minutes

Sets the number of minutes for the inactivity timeout. From 0 to 525,600. Zero (0) disables the timeout.

Defaults

30 minutes

Command Modes

EXEC

Usage Guidelines

Setting the terminal session-timeout command to zero (0) results in no timeout being set.

Examples

/admin# terminal session-timeout 40

/admin#

Related Commands

Command

Description

terminal session-welcome

Sets a welcome message on the system for all users who log in to the system.