The idle-timeout command sets a timeout period for users to disconnect from a user interface.
The undo idle-timeout command restores the default timeout period.
By default, the timeout period is 10 minutes.
Parameter | Description | Value |
---|---|---|
minutes | Specifies the idle timeout period, in minutes. | The value is an integer ranging from 0 to 35791. |
seconds | Specifies the idle timeout period, in seconds. | The value is an integer ranging from 0 to 59. |
Usage Scenario
If an online user does not perform any operation, the user interface where the user logs in is wasted. To resolve this problem, run the idle-timeout command to set a timeout period. If the user does not perform any operation before the timeout period expires, the user is disconnected from the user interface.
Precautions
If AAA authentication is used, the local-user idle-timeout minutes [ seconds ] command takes precedence. If both the commands are configured, the value configured using the local-user idle-timeout command takes effect.
If RADIUS authentication is used, the RADIUS attribute Idle-Timeout takes precedence. If both the Idle-Timeout attribute and the idle-timeout command are configured, value of the RADIUS attribute Idle-Timeout takes effect.