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:

  • Access Points — AP505i, AP510i/e, AP560i/h
  • Service Platforms — NX5500, NX7500, NX9500, NX9600, VX9000


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


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.


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
 connection-mode https
 inactivity-timeout 750
 server host
 simultaneous-users 5
 use aaa-policy test
 use dns-whitelist test

Related Commands


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