cisco — Configuring a Parameter Map for Web-Based Authentication

Configuring Identity Control Policies Configuring a Parameter Map for Web-Based Authentication Command or Action Purpose Step 5 consent Example: Device(config-params-parameter-map)# type consent (Optional) Defines the methods supported by a web-based authentication parameter map. • This command is supported in named parameter maps only. Step 6 consent email Example: Device(config-params-parameter-map)# consent email (Optional) Requests a user’s e-mail address on the web-authentication login web page. • This command is supported in named parameter maps only. Step 7 custom-page {failure | login [expired] | success} device location:filename Example:

Device(config-params-parameter-map)# custom-page login device flash:webauth login.html _ Device(config-params-parameter-map)# custom-page login expired device flash:webauth expire.html _ Device(config-params-parameter-map)# custom-page success device flash:webauth success.html _ Device(config-params-parameter-map)# custom-page failure device flash:webauth fail.html _ (Optional) Displays custom authentication proxy web pages during web-based authentication. • You must configure all four custom HTML files. If fewer than four files are configured, the internal default HTML pages will be used. Step 8 max-http-conns number Example:

Device(config-params-parameter-map)# max-http-conns 5 (Optional) Limits the number of HTTP connections for each web authentication client. Step 9 ratelimit init-state-sessions rate-limit Example: Device(config-params-parameter-map)# ratelimit init-state-sessions 500 (Optional) Limits the number of web-based authentication sessions in the Init state. • This command is supported in the global parameter map only. Step 10 redirect {{for-login | on-failure | on-success} url | portal {ipv4 ipv4-address | ipv6 ipv6-address}} Example:

Device(config-params-parameter-map)# redirect portal ipv6 FE80::1 Device(config-params-parameter-map)# redirect on-failure http://10.10.3.34/~sample/failure.html (Optional) Redirects users to a particular URL during web-based authentication. Step 11 timeout init-state sec seconds Example: (Optional) Sets the Init state timeout for web-based authentication sessions. Configuring Identity Control Policies 18