Description
Create a captive-portal profile. Profiles are used in user roles to direct the user to a designated captive portal
server. When the profile includes a web address, that web address is always used to contact the server. When no
web address is specified, it is obtained from the RADIUS VSA.
NOTE: A profile does not have to be pre-existing in the switch for it to be configured to a user role.
Options
profile
Configure a captive portal profile.
<PROFILE-STR>
Configure a captive portal profile string 64 characters long.
url
Configure the captive portal server web address.
<URL-STR>
Configure the captive portal server web address string.
Usage
Switch# aaa authentication captive-portal profile <NAME>
Switch# aaa authentication captive-portal profile <NAME> url <URL>
Validation rules
Validation Error/Message/Prompt
Attempts made to remove a nonexisting profile will
return an error:
switch# no aaa authentication captive-
portal profile NON_EXISTING_PROFILE
Captive portal profile
NON_EXISTING_PROFILE not found.
When including the configured web address after the
web address parameter:
[no] aaa authentication captive-portal
profile myCaptivePortalProfile url
http://myCPPM.local/guest/
captive_portal_login.php
Invalid input: http://blablabla.com
A profile name with invalid syntax produces an error:
Switch# aaa authentication captive-
portal-profile “this is an invalid name”
#aaa authentication captive-portal-
profile “this is an invalid name”
Invalid character ' ' in name.
When trying to modify a profile that is predefined,
switch# aaa authentication captive-
portal-profile name use-radius-vsa
Captive portal profile use-radius-vsa is read only
and cannot be modified
Table Continued
Chapter 23 Local user roles 439