266| Captive Port al Authentication DellPowerConnect W- Series ArubaOS 6.2 | User Guide
11. ClickApply.
In the CLI
This exampleconfigures a destination named Mywhite-list and adds the domain names, google.com and cnn.com to
that destination. It then adds the destination name Mywhite-list (which contains the allowed domain names
google.comand cnn.com) to the white list.
(host)(config)# netdestination "Mywhite-list"
(host)(config)#name google.com
(host)(config)#name cnn.com
(host) (config) #aaa authentication captive-portal default
(host)(Captive Portal Authentication Profile "default")#white-list Mywhite-list
Enabling Captive Portal Enhancements
This releaseo f ArubaOSintroduces the following enhancements in Captive Portal:
lLocation information such as AP name and AP group name havebeen included in the Captive Portal redirect
URL. The followingexample shows a Captive Portal redirect URL that contai nst heA P name andthe AP group
name:
https://securelogin.arubanetwo rks.com/cgi-
bin/login?cmd=login&mac=00:24:d7:ed:84:14&ip=10.15.104.13&essid=example-test-
tunnel&apname=ap 135&apgroup=example&url=http%3A%2F% 2Fwww%2Eespncricin fo%2Ecom%2F
lA new option redirect-url is introduced in the Captive P ortal Authentication profile which allows you to redirect
the userst o a specific URL after the authentication is complete.
lCaptive Portal Login URL length has been increased from 256 characters to 2048 characters.
lSupportfor “ ?” (question mark) inside the Captive Portal login URL has been added.
lA new field, description has beeni ntroducedin t he netdestination and netdestination6 commands to provide a
description about the netdestination up to 128 characters long.
lSupportfor co nfiguringWhitelist in C aptive Portal has been introduced.
The Captive Portal enhancements are availableo n Tunneland Split-Tunnel forwardingmodes.

Configuring th e Redirect-URL

You can configurethe Captive Po rtalredirect URL using the following commands:
(host) (config) # aaa authentication captive-portal REDIRECT
(host) (Captive Portal Authentication Profile "REDIRECT") #redirect-url <absolute-URL>
Example:
(host) (config) # aaa authentication captive-portal REDIRECT
(host) (Captive Portal Authentication Profile "REDIRECT") #redirect-url https://test-
login.php

Configuring th e Login URL

You can configurea Captive Portal login URL up to 2048 characters using the following commands:
(host) (config) # aaa authentication captive-portal LOGIN
(host) (Captive Portal Authentication Profile "LOGIN")#login-page
"http://10.17.36.100/login.php?isinit=1&mac=00:11:22:33:44:55&loginURL=https://captiveportal-
login.test.aero/auth/index.html&originalURL=&statusURL=&error=&logginIn”