Security

exec-timeout <minutes> [seconds]

Log an idle session out after this long. The default is 10 minutes; 'exec-timeout 0 0' never times out.

Works on: Router, Firewall, Switch, Access pointMode: line

Example

R1(config-line)# exec-timeout 5 0
Run this command live

Don't just read it — type exec-timeout <minutes> [seconds] in a real network simulator in your browser and watch it take effect. No install, no account needed to start.

Open the lab

Frequently asked

What does the "exec-timeout <minutes> [seconds]" command do?

Log an idle session out after this long. The default is 10 minutes; 'exec-timeout 0 0' never times out.

Example of "exec-timeout <minutes> [seconds]"

R1(config-line)# exec-timeout 5 0

More Security commands

← Back to the full command reference

exec-timeout <minutes> [seconds] — network CLI command reference · NetForge-AI