< Home

idle-timeout

Function

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.

Format

idle-timeout minutes [ seconds ]

undo idle-timeout

Parameters

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.

Views

User interface view

Default Level

3: Management level

Usage Guidelines

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 you set the timeout period to 0, the user connection remains alive until it is manually cut.
  • If you set the timeout period to 0 or a large value, the user will remain in the login state, resulting in security risks. You are advised to run the lock command to lock the current connection.
  • If the user interface disconnection function is not configured, other users may fail to log in to the device. You are advised to set the timeout period to 10-15 minutes.

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.

Example

# Set the timeout period to 1 minute and 30 seconds.

<HUAWEI> system-view
[HUAWEI] user-interface console 0
[HUAWEI-ui-console0] idle-timeout 1 30
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >