< Home

server-ip (Portal server template view)

Function

The server-ip command configures an IP address for a Portal server.

The undo server-ip command deletes an IP address for a Portal server.

By default, no IP address is configured for a Portal server.

Format

server-ip server-ip-address

undo server-ip { server-ip-address | all }

Parameters

Parameter Description Value

server-ip-address

Specifies an IPv4 address of a Portal server.

The value is in dotted decimal notation.

all

Deletes all IP addresses of a Portal server.

-

Views

Portal server template view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After creating a Portal server template on the device using the web-auth-server (system view) command, configure parameters for the template.

Run the server-ip command to configure an IP address for the Portal server in the Portal server template view. When receiving a Portal authentication request packet from a user, the device sends a response packet to the Portal server with the configured IP address.

Precautions

  • After the IP address corresponding to a Portal server is configured in the Portal server template, users are allowed to access the IP address.

  • After a Portal server template is bound to a Portal access profile and the server IP address is deleted, users who access the Portal server through this IP address and pass authentication successfully will go offline.

Example

# Set the Portal server IP address in the Portal server template huawei to 10.10.10.1.

<sysname> system-view
[sysname] web-auth-server huawei
[sysname-web-auth-server-huawei] server-ip 10.10.10.1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >