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 &<1-10>

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

Parameters

Parameter Description Value
server-ip-address Specifies an IP 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.
NOTE:

The device supports a maximum of 128 Portal server IP addresses in a Portal server template so that Portal authentication users can use multiple IP addresses to access the Portal authentication page. This setting makes the authentication process flexible.

The device allows a maximum of 512 Portal server IP addresses in all Portal server templates.

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.

If more than one IP address is assigned to the same Portal server, you must run the url (Portal server template view) command to assign a URL to the Portal server; otherwise, an error message is displayed on the device when the template is bound to the VLANIF interface. You can only assign one URL to a Portal server.

If the Portal server has been bound to the VLANIF interface, run the undo web-auth-server command to unbind the Portal server from the VLANIF interface before changing the Portal server IP address.

Example

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

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

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