idle-timeout

Use idle-timeout to set the CLI connection idle-timeout timer.

Use undo idle-timeout to restore the default.

Syntax

idle-timeout minutes [ seconds ]

undo idle-timeout

Default

The CLI connection idle-timeout timer is 10 minutes.

Views

User line view, user line class view

Predefined user roles

network-admin

mdc-admin

Parameters

minutes: Specifies the number of minutes for the timer, in the range of 0 to 35791. The default is 10 minutes.

seconds: Specifies the number of seconds for the timer, in the range of 0 to 59. The default is 0 seconds.

Usage guidelines

The system automatically terminates the user connection on the user line if there is no information interaction between the device and the user within the idle-timeout interval.

Setting the CLI connection idle-timeout timer to 0 disables the idle-timeout feature.

This command is available in both user line view and user line class view:

Examples

# Set the CLI connection idle-timeout timer to 1 minute and 30 seconds for user line AUX 0.

<Sysname> system-view
[Sysname] line aux 0
[Sysname-line-aux0] idle-timeout 1 30