< Home

authentication event portal-server-up action re-authen

Function

The authentication event portal-server-up action re-authen command enables the device to re-authenticate users when the Portal server turns Up from Down.

The undo authentication event portal-server-up action re-authen command restores the default setting.

By default, the device does not re-authenticate users when the Portal server turns Up from Down.

Format

authentication event portal-server-up action re-authen

undo authentication event portal-server-up action re-authen

Parameters

None

Views

Portal access profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If the device is configured to assign network access rights to users when the Portal server is Down, users can access limited network resources after the device detects that the Portal server is Down. To ensure that users can obtain normal network access rights after the Portal server goes Up, you can enable the device to re-authenticate users when the Portal server changes from Down to Up. After the Portal server goes Up, the device sets the status of users who display web-server-down to pre-connection. The re-authentication process starts when the users visit any web page. If the authentication succeeds, the device assigns normal network access rights to the users.

Precautions

  • This command does not apply to users connected to the route main interface.
  • This function takes effect only for users who go online after this function is successfully configured.

  • Before enabling the access device to assign network access rights to users when the Portal server is Down, enable the heartbeat detection function on the Portal server and run the server-detect command on the access device to enable the Portal server detection function.

Example

# In the Portal access profile p1, enable the device to re-authenticate users when the Portal server turns Up from Down.

<HUAWEI> system-view
[HUAWEI] portal-access-profile name p1
[HUAWEI-portal-access-profile-p1] authentication event portal-server-up action re-authen
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >