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 IPv4 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.
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.