The web-server url command configures a redirection URL for mandatory web authentication in a domain.
The web-server bind web-auth-server command configures the web authentication server bound to the mandatory web authentication server.
The web-server bind web-auth-server ip-address slave command configures the web authentication server bound to the standby mandatory web authentication server.
By default, the mandatory web server is not configured.
This command is supported only on the NetEngine 8000 F1A.
web-server { ip-address | ipv6-address } * [ bind web-auth-server { auth-server-ip | auth-server-ipv6 } [ vpn-instance vpn-instance ] ] [ slave ]
web-server url url-string [ bind web-auth-server { auth-server-ip | auth-server-ipv6 } [ vpn-instance vpn-instance ] ] [ slave ]
undo web-server [ slave ]
undo web-server url [ url-string ] [ slave ]
Parameter | Description | Value |
---|---|---|
ip-address |
Specifies the IP address of the web server. |
The value is in dotted decimal notation. |
ipv6-address |
Specifies the IPv6 address of the web server. |
The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
auth-server-ip |
Specifies the IP address of the web authentication server to which the mandatory web server is bound, in dotted decimal notation. |
The value is in dotted decimal notation. |
auth-server-ipv6 |
Specifies the IPv6 address of the web authentication server to which the mandatory web server is bound, in dotted decimal notation. |
The value is in dotted decimal notation. |
vpn-instance vpn-instance |
Specifies the name of the VPN instance to which the bound web authentication server belongs. |
The value is a string of 1 to 31 characters. |
slave |
Specifies the standby status for the mandatory web server. |
- |
url url-string |
Specifies the redirection URL for mandatory web authentication. For example, http://www.isp1.com. |
The value is a string of 1 to 200 case-sensitive characters, spaces not supported. |
Usage Scenario
Mandatory web authentication is a function that enables the to redirect the access request of a user to the web server when a user accesses an unauthorized address before being authenticated, facilitating user authentication.
If homepage popup is configured and the web server support this function, when the user passes the web authentication, the web server refreshes the web page being browsing by the user to the homepage requested by the user before authentication. The user does not need to type this homepage again. If homepage popup is configured, when the user passes the web authentication, the user is forcibly redirected to the Portal page. To access the requested homepage, the user needs to type this homepage again. If the mandatory web server is different from the web authentication server, the cannot identify whether the mandatory web server is Up or Down, but can identify whether the web authentication server is Up or Down. To enable the to identify whether the mandatory Web server is Up or Down based on the status of the web authentication server, you can run the web-server { <ip-address> | url <url> } [ bind web-auth-server <ip-address> [ vpn-instance <vpn-instance> ] ] command to bind the mandatory web server to the web authentication server. If there are two web authentication servers in active/standby mode, after the mandatory web server is bound to the web authentication server, you can run the web-server { <ip-address> | url <url> } [ bind web-auth-server <ip-address> [vpn-instance <vpn-instance> ] ] slave command to configure the standby mandatory web server.Precautions
This command is supported only on the admin VS.
<HUAWEI> system-view [~HUAWEI] aaa [~HUAWEI-aaa] domain huawei [*HUAWEI-aaa-domain-huawei] commit [*HUAWEI-aaa-domain-huawei] web-server 1.1.1.1 [*HUAWEI-aaa-domain-huawei] web-server url http://www.huawei.com