use (captive-portal-config-mode)

Configures a AAA policy and DNS whitelist with this captive portal policy. AAA policies are used to configure authentication and accounting servers for this captive portal. DNS whitelists restrict users to a set of configurable domains on the Internet.

Supported in the following platforms:

Syntax

use [aaa-policy <AAA-POLICY-NAME>|dns-whitelist <DNS-WHITELIST-NAME>]

Parameters

use [aaa-policy <AAA-POLICY-NAME>|dns-whitelist <DNS-WHITELIST-NAME>]

aaa-policy <AAA-POLICY-NAME>

Associates a AAA policy with this captive portal. AAA policies validate user credentials and provide captive portal access to the network.

  • <AAA-POLICY-NAME> – Specify the AAA policy name.

For more information on AAA policies, see AAA Policy.

dns-whitelist <DNS-WHITELIST-NAME>

Associates a DNS whitelist to use with this captive portal. A DNS whitelist defines a set of allowed destination IP addresses. DNS whitelists restrict captive portal access.

  • <DNS-WHITELIST-NAME> – Specify the DNS whitelist name.

To effectively host captive portal pages on an external Web server, the IP address of the destination Web server(s) should be added to the DNS whitelist.

For more information on DNS whitelists, see dns-whitelist.

Examples

nx9500-6C8809(config-captive-portal-test)#use aaa-policy test
nx9500-6C8809(config-captive-portal-test)#use dns-whitelist test
nx9500-6C8809(config-captive-portal-test)#show context
captive-portal test
 access-time 35
 custom-auth info bob bob@examplecompany.com
 connection-mode https
 inactivity-timeout 750
 server host 172.16.10.9
 simultaneous-users 5
 terms-agreement
 use aaa-policy test
 use dns-whitelist test
nx9500-6C8809(config-captive-portal-test)#

Related Commands

no

Removes a DNS Whitelist or a AAA policy from the captive portal