802.1X Captive-Portal Fail-Redirect-Url - Alcatel-Lucent OmniSwitch 6850-48 Cli Reference Manual

Alcatel-lucent omniswitch 6850-48: reference guide
Hide thumbs Also See for OmniSwitch 6850-48:
Table of Contents

Advertisement

802.1X Commands

802.1x captive-portal fail-redirect-url

Configures Captive Portal to redirect the user to a specific site if authentication fails (user login is invalid
or user bypasses authentication). This command specifies the URL of an HTTP server where a Java script
is defined that specifies the actual destination URL.
802.1x captive-portal fail-redirect-url redirect_url
802.1x captive-portal no fail-redirect-url
Syntax Definitions
redirect_url
Defaults
No fail redirect URL is configured.
Platforms Supported
OmniSwitch 6400, 6850, 6850E, 6855, 9000E
Usage Guidelines
Use the no form of this command to remove a fail redirect URL configuration.
Make sure the HTTP server URL and Java script exist and are reachable by the user during the authen-
tication phase.
A Java script is only needed to redirect a user to a website outside of the network; a script is not needed
to redirect users to an intranet site.
After the user attempts to authenticate through the Captive Portal login page, the Captive Portal status
page displays and attempts to run the Java script that is located at the URL site specified with this
command.
If the redirect URL is not configured or is invalid, the Captive Portal status page remains open and
displays an error message regarding the attempted redirection.
Examples
The following command example configures the fail URL to point to the fail.html Java script on the test-
cp.com HTTP server.
-> 802.1x captive-portal fail-redirect-url http://test-cp.com/fail.html
The following is an example Java script (named fail.html) in which the "TARGET" field specifies the
actual URL to which the user is redirected:
<html>
<head> <meta http-equiv="expires" content="Tue, 20 Aug 1996 14:25:47 GMT">
<meta http-equiv=Pragma content=no-cache>
<meta http-equiv=cache-control content=no-cache,no-store,must-revalidate,proxy-
revalidate>
</head>
OmniSwitch CLI Reference Guide
The internal HTTP server URL, up to 63 characters, for the redirect
Java script (for example, http://test-cp.com/fail.html).
June 2012
page 35-39

Advertisement

Table of Contents
loading

Table of Contents