< Home

http timeout

Function

The http timeout command sets the idle timeout duration of the web server.

The undo http timeout command restores the default idle timeout duration of the web server.

By default, the idle timeout duration of the web server is 20 minutes.

Format

http timeout timeout

undo http timeout

Parameters

Parameter Description Value
timeout Specifies the idle timeout duration of the web server for online users. The value is an integer that ranges from 1 to 60, in minutes.

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

A maximum of five web users are supported at present. When the fifth web user logs in to the web server, any other user cannot log in to the web server even if any of the five users does not perform operations for a long time. The idle timeout duration is configured to release web resources in time. To occupy web channels for a long time, you must set the idle timeout duration to the maximum value.

Precautions

  • After you run the http timeout command, the idle timeout durations are the same for all web users who log in to the web server. If the idle timeout duration expires, a user is disconnected from the web server and the web server notifies the user only after the user sends the next login request.

  • If the http timeout command is configured several times, only the latest configuration takes effect.

Example

# Set the idle timeout duration of the web server to 6 minutes.

<HUAWEI> system-view
[HUAWEI] http timeout 6
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >