< Home

user-interface vty idle-timeout

Function

The user-interface vty idle-timeout command sets the timeout period for disconnection from a user interface.

The undo user-interface vty screen-length command restores the default timeout period.

By default, the timeout period is 5 minutes.

Format

user-interface vty ui-number idle-timeout minutes [ seconds ]

undo user-interface vty ui-number idle-timeout

Parameters

Parameter Description Value
ui-number Specifies the VTY user interface number. The value is an integer that ranges from 0 to 4.
minutes Specifies the idle timeout period, in minutes. The value is an integer that ranges from 0 to 35791, in minutes.
seconds Specifies the idle timeout period, in seconds. The value is an integer that ranges from 0 to 59, in seconds.

Views

AP system profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If a user logs in to the device and does not perform an operation, the user interface is occupied unnecessarily. You can run the user-interface vty idle-timeout command to disconnect the user's terminal from the device.

Precautions

If the parameters minutes and seconds are both set to 0, the VTY timeout disconnection function is disabled.

Example

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

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ap-system-profile name huawei 
[HUAWEI-wlan-ap-system-prof-huawei] user-interface vty 0 idle-timeout 1 30
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >