< Home

portal local-server timer session-timeout

Function

The portal local-server timer session-timeout command configures the session timeout interval for built-in Portal authentication users.

The undo portal local-server timer session-timeout command restores the default session timeout interval for built-in Portal authentication users.

By default, the session timeout interval is 8 hours for built-in Portal authentication users.

Format

portal local-server timer session-timeout interval

undo portal local-server timer session-timeout

Parameters

Parameter Description Value
interval

Specifies the session timeout interval for built-in Portal authentication users.

The value is an integer that ranges from 1 to 720, in hours.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Scenario

When built-in Portal authentication is used for users and the device functions as a built-in Portal server, you can configure the session timeout interval for the users. The users are disconnected after the specified session timeout interval. To connect to the network again, the users need to be re-authenticated.

Precautions

The session timeout interval for built-in Portal authentication users is calculated based on the device time. For example, if the session timeout interval is 6 hours and the device time is 2014-09-01 02:00:00 when a user was connected, the user should be disconnected at 2014-09-01 08:00:00. Therefore, ensure that the device time is correct after the session timeout interval is configured for users. If the device time is incorrect, users may fail to be connected or disconnected properly. You can run the display clock command to check the device time and the clock datetime HH:MM:SS YYYY-MM-DD command to configure the time.

Example

# Configure the session timeout interval to 10 hours for built-in Portal authentication users.

<HUAWEI> system-view
[HUAWEI] portal local-server timer session-timeout 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >