cli timeout
The default timeout is 2 minutes.
Global configuration mode
The no form of the command
resets the timeout to the default value.
If the timeout is set to "0" the CLI session never times out.
The CLI session timeout also controls rconsole (remote console), Telnet, and SSH sessions.
You can display the configuration for the current session using the show cli
config command.
The following example sets the CLI session to time out after three minutes of inactivity.
device# configure terminal device(config)# cli timeout 3
The following example sets CLI and remote console sessions to never time out.
device(config)# cli timeout 0 device(config)# exit device# show cli config CLI Session Configuration session timeout : 0 min skip-page mode : disabled skip-page config : disabled alias : There are no entries in the alias list.