< Home

web-auth-server (Portal access profile view)

Function

The web-auth-server command configures the Portal server template used by a Portal access profile.

The undo web-auth-server command restores the default setting.

By default, a Portal access profile does not use any Portal server template.

Format

web-auth-server server-name

undo web-auth-server

Parameters

Parameter Description Value

server-name

Specifies the name of a Portal server template.

The value must be an existing Portal server template name.

Views

Portal access profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After a Portal server template is configured on the device, this profile must be bound to a Portal access profile. When users who use the Portal access profile attempt to access charged network resources, the HTTP requests are forcibly redirected to the authentication page of the Portal server to implement Portal authentication.

Prerequisites

A Portal server template has been created using web-auth-server and the IP address of the Portal server has been configured using server-ip.

Precautions

  • After a Portal access profile is bound to an authentication profile, the Portal server template used in the Portal access profile cannot be deleted, but can be modified.

Example

# Bind the Portal access profile p1 to the Portal server template server1.

<sysname> system-view
[sysname] web-auth-server server1
[sysname-web-auth-server-server1] server-ip 10.10.1.1
[sysname-web-auth-server-server1] quit
[sysname] portal-access-profile name p1
[sysname-portal-access-profile-p1] web-auth-server server1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >