Lantronix
SISPM1040-582-LRT CLI Reference
33757 Rev. J
Page
43
of
272
Command
:
exec-timeout
Description
:
Set Autologout inactivity timeout period in minutes.
Syntax
:
exec-timeout
autologout { 0 | 1 | 2 | 3 | 4 | 5 | 10 | 20 | 30 | 40 | 50 | 60 }
Parameters
: autologout autologout
0
off – will not log out at all
1
1 min
10
10 min (default)
2
2 min
20
20 min
3
3 min
30
30 min
4
4 min
40
40 min
5
5 min
50
50 min
60
60 min
Example
:
SISPM1040-582-LRT(config)#
exec-timeout autologout 30
SISPM1040-582-LRT(config)#
exec-timeout autologout 0
SISPM1040-582-LRT(config)#
Auto-Logout Timeout:
After you change the Auto-Logout timeout and then log out and log back in, the Auto-
Logout timeout setting will be the setting saved to the start-up config file. When the Auto-Logout timeout setting
is changed, it directly writes to running-config.
To save the timeout change to start-up config, you must execute a save to startup-config.
To examine the running-config, you can run the CLI command “showing running-config” or in the Web UI just log
out and log back in again.
To save the timeout change into startup-config, you must do a save to startup-config and then reboot the switch.
In summary:
•
When you power on the switch, it will get the settings from startup-config.
•
When you logout and login (without switch reboot), the switch will get the timeout settings from startup-
config.
•
When you reload defaults, the switch will get the timeout settings default-config.
For the “Save to start-up config” behavior, if you don’t save the config, when you change the timeout setting but
logout, at the next login the timeout setting remains unchanged as the setting in start-up config.
If you save timeout setting to start-up config:
If you don’t save timeout setting to start-up config:
When you change the timeout setting and save to
startup-config (click the disc icon), the changed
timeout setting will be applied to running-config and
start-up config immediately.
When the you change the timeout setting (without
save to startup-config), the timeout change will be
applied to running-config immediately.
After Logout and login, the timeout setting will be
the setting saved in start-up config.
After Logout and login, the timeout setting will be the
setting saved in start-up configure.
After a switch reboot, the timeout setting will be the
setting saved in start-up config.
After you reboot the switch, the timeout setting will be
the setting saved in start-up config.