web-auth-server (system view)

Function

The web-auth-server command creates a Portal server template or displays the Portal server template view.

The undo web-auth-server command deletes a Portal server template.

By default, no Portal server template is created.

Format

web-auth-server server-name

undo web-auth-server server-name

Parameters

Parameter

Description

Value

server-name

Specifies the name of a Portal server.

The value is a string of 1 to 31 case-sensitive characters without spaces.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When an unauthenticated Portal user goes online, the device forces the user to log in to a specified website (also called the Portal website). The user can access resources in the Portal website for free. When the user attempts to access charged network resources, the user must pass authentication on the Portal website. The specific process is as follows:

  1. The unauthorized user opens Internet Explorer and enters a URL in the address box. When receiving the HTTP request sent by the user, the device redirects it to the Portal authentication page of the Portal server.
  2. The user enters user information on the authentication page or in the authentication dialog box, and the Portal server forwards the user information to the device.
  3. After receiving the user information from the Portal server, the device sends the information to the authentication server for authentication and accounting.
  4. After the user is authenticated, the device allows the user to access the Internet if no security policy is enforced.

After a Portal server template is created on the device by using the web-auth-server command, run other commands to create a route from the device to the Portal server.

Follow-up Procedure

Run the following commands to configure related attributes of the Portal server template:

Precautions

You are advised to back up the Portal server data to prevent authentication failure caused by the Portal server fault.

A maximum of eight Portal server templates can be configured on the device.

If you want to run the undo web-auth-server command to delete a Portal server template, ensure that the Portal server template is not bound to the VLANIF interface.

Example

# Create the Portal server template huawei.

<HUAWEI> system-view
[HUAWEI] web-auth-server huawei
Related Topics
display web-auth-server configuration
web-auth-server (interface view)
url (Portal server template view)
server-ip (Portal server template view)
port (Portal server template view)
shared-key (Portal server template view)

Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.