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.
| 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. | - |
Usage Scenario
After creating a Portal server template on the device using the web-auth-server (system view) command, configure parameters for the template.
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.