Explains external web authentication mechanisms for WLAN clients, providing instructions to configure single or multiple WebAuth servers and wired guest EWA using CLI procedures.
Configure EWA with single WebAuth server address and default ports (80/443) (CLI)
Configure External Web Authentication (EWA) on your device to use a single WebAuth server address with default ports (80 or 443).
Use this procedure to redirect guest WLAN clients to a specific WebAuth portal using default HTTP or HTTPS ports.
Procedure
| 1. | Enter global configuration mode. Example:
|
|
| 2. | Define the authentication method at login. Example:
|
|
| 3. | Create the parameter map using the parameter-map type webauth parameter-map-name command. Example:
The parameter-map-name must not exceed 99 characters. |
|
| 4. | Configure the webauth type parameter. Example:
|
|
| 5. | Configure the URL string for redirect during login using the redirect for-login URL-String command. Example:
|
|
| 6. | Configure the external portal IPv4 address. Example:
|
|
| 7. | Return to global configuration mode. Example:
|
|
| 8. | Configure a WLAN using the wlan wlan-name wlan-id SSID-name command. Example:
|
|
| 9. | Disable adaptive 11r. Example:
|
|
| 10. | Disable WPA security. Example:
|
|
| 11. | Disable WPA2 security. Example:
|
|
| 12. | Disable WPA2 ciphers for AES. Example:
|
|
| 13. | Disable security AKM for dot1x. Example:
|
|
| 14. | Enable web authentication for WLAN. Example:
|
|
| 15. | Enable authentication list for dot1x security using the security web-auth authentication-list authenticate-list-name command. Example:
|
|
| 16. | Configure the parameter map using the security web-auth parameter-map parameter-map-name command. Example:
|
|
| 17. | Return to privileged EXEC mode. Example:
|
Once enabled for the configured WLAN, web authentication redirects clients to the specified WebAuth portal using default ports.
Configure EWA with multiple web servers and/or ports different than default (80/443)
Configure an External Web Authentication (EWA) workflow to support multiple web servers and custom port numbers using CLI.
Enable guest access using EWA if there are multiple external web servers or if web authentication must use ports other than the default ports of 80 or 443.
Procedure
| 1. | Enter global configuration mode. Example:
|
|
| 2. | Define an extended IPv4 access list using a name, and enters access-list configuration mode. Example:
|
|
| 3. | Permit access from any host to the first external web server port number 8443. Example:
Example:
|
|
| 4. | Permit access from any host to the second external web server port number 8443. Example:
Example:
|
|
| 5. | Permit DNS UDP traffic. Example:
Example:
|
|
| 6. | Permit DHCP traffic using the bootpc . Example:
Example:
|
|
| 7. | Permit DHCP traffic using bootps . Example:
Example:
|
|
| 8. | Permit the access from the first external web server port 8443 to any host. Example:
Example:
|
|
| 9. | Permit the access from the second external web server port 8443 to any host. Example:
Example:
|
|
| 10. | Permit DNS TCP traffic. Example:
Example:
|
|
| 11. | Deny all the other traffic. Example:
Example:
|
|
| 12. | Create the WLAN using the wlan wlan-name wlan-id ssid command. Example:
Example:
|
|
| 13. | Configure the IPv4 WLAN web ACL Example:
The variable
name specifies the user-defined IPv4 ACL name
|
|
| 14. | Return to privileged EXEC mode. Example:
|
This configuration allows EWA with multiple external web servers and ports. It supports DNS or DHCP traffic and blocks unauthorized traffic.
Configure wired guest EWA with multiple web servers, ports different than default (80/443)
Configure Wired Guest External Web Authentication (EWA) when using multiple web servers or ports other than the default ports of 80 or 443 using CLI.
Wired Guest LAN profiles do not allow manual ACL assignment directly. To support multiple web servers or custom ports, use the bypass ACL in the global parameter map.
Procedure
| 1. | Enter global configuration mode. Example:
|
|
| 2. | Define an extended IPv4 access list using a name, and enter access-list configuration mode. Example:
|
|
| 3. | Allow the traffic to switch centrally. Example:
|
|
| 4. | Allow the traffic to switch centrally Example:
Example:
|
|
| 5. | Creates a parameter map and enter parameter-map webauth configuration mode. Example:
|
|
| 6. | Create a WebAuth bypass intercept using the ACL name. Example:
|
|
| 7. | Return to privileged EXEC mode. Example:
|
The wired guest profile uses the bypass ACL, enabling external web authentication with multiple web servers or custom ports.