session-timeout

Syntax

session-timeout <MINUTES>

no session-timeout

Description

Specifies the number of minutes a CLI session can be idle before the session is automatically terminated and the user is logged out.

The no form of this command sets the timeout to the default value of 30 minutes.

Command context

config

Parameters

<MINUTES>

Specifies the number of minutes the CLI session can remain idle. Specify 0 to configure CLI sessions to never time out. Range: 0 to 4320. Default: 30

Authority

Administrators or local user group members with execution rights for this command.

Example

switch(config)# session-timeout 15S