< Home

idle-timeout

Function

The idle-timeout command sets a timeout period to enable a FW to disconnect an administrator if the administrator enters no commands when the timeout period elapses.

The undo idle-timeout command restores the default timeout period.

The default timeout period is 10 minutes.

Format

idle-timeout minutes [ seconds ]

undo idle-timeout

Parameters

Parameter Description Value
minutes Specifies the timeout period in minutes. The value is an integer ranging from 0 to 35791, in minutes.
seconds Specifies the timeout period in seconds. The value is an integer ranging from 0 to 59, in seconds.

Views

Administrator interface view

Default Level

3: Management level

Usage Guidelines

When you run the idle-timeout 0 0 command, the function of disconnecting administrators is disabled. So administrators will never be disconnected from the CLI, resulting in security risks.

When some administrators do not log out though they do not use administrator interfaces, the interfaces become unavailable to other administrators. The idle-timeout command can be run in the administrator interface view to automatically log out an administrator if the interface is idle for a specified period of time, which helps efficiently use the interface.

Example

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

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