This command configures a captive portal server‘s HTTP redirect URL and its status.
web-redirect | Configures web-redirect. |
redirect_index | Configures a web redirect index (range = 1–10). |
server | Configures a server for the web redirect index. |
server_id | Sets the server ID to use ( range = 1–2). |
url | Configures captive portal server absolute URL. |
redirect_url |
Sets HTTP/HTTPS URL that users are redirected to http(s)://<IPv4Address or Hostname>:<L4Port>/<Path> Where IPV4Address or Hostname is the IPv4 address or hostname of the captive portal server (DNS server needs to be configured on the device). L4Port by default is 80. Should be provided with the value on which the captive portal web-server is running. |
status | Captive portal server status: "enable" or "disable" (default is disable). |
By default, captive portal server status is disabled.
The following example configures and enables the URL for a particular captive portal server (index 2) in web-redirect (index 1):
configure policy captive-portal web-redirect 1 server 2 url http://192.168.1.1:80/static/index.jsp enable
This command was first available in ExtremeXOS 22.3.
This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, and 5520 series switches.