Information
The session timeout should be configured to a nonzero value. The session timeout default value is 30 minutes; when the timeout period has elapsed with no user activity, the session will be terminated and the user will be required to log in again.
Solution
Use the following command to set the session timeout to 5 minutes:
switch(config)# session-timeout 5
The session timeout period can be set between 0 (disabled) and 43,200 minutes (30 days), and applies to serial console and SSH sessions; it does not apply to the web UI.