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 exists.
Parameter |
Description |
Value |
---|---|---|
server-name |
Specifies the name of a Portal server. |
The value is a string of 1 to 31 case-sensitive characters. It cannot contain spaces or the following symbols: / \ : * ? " < > | @ ' %. The value cannot be - or --. NOTE:
server-name cannot be set to listening-port, reply-message, version, or the first character or several leftmost characters of these character strings. |
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 website for free. When the user attempts to access charged network resources, the user must pass authentication on the website. The specific process is as follows:
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.