Example for Configuring Local Web Authentication in Local Mode
-
Configure authentication and authorization method lists.
Device>enable Device#configure terminal Device(config)#aaa new-model Device(config)#aaa authentication login WIRELESS_LWA_AUTHENTICATION local Device(config)#aaa authorization network WIRELESS_LWA_AUTHORIZATION local
-
Creates guest user credentials.
Device(config)#user-name guest Device(config-user-name)#password cisco123 Device(config-user-name)#exit
-
Configure the global parameter map.
Device(config)#parameter-map type webauth global Device(config-params-parameter-map)#virtual-ip ipv4 192.0.2.1 Device(config-params-parameter-map)#webauth-http-enable Device(config-params-parameter-map)#intercept-https-enable Device(config-params-parameter-map)#trustpoint WEBAUTH Device(config-params-parameter-map)#exit
-
Configure the named parameter map.
Device(config)#parameter-map type webauth LWA_PARAMETER_MAP Device(config-params-parameter-map)#banner file flash:webauth_banner.html Device(config-params-parameter-map)#type webauth Device(config-params-parameter-map)#exit
-
Configure WLAN security parameters.
Device(config)#wlan WLAN_LWA_LOCAL 15 WLAN_LWA_LOCAL Device(config-wlan)#no security wpa Device(config-wlan)#no security wpa wpa2 ciphers aes Device(config-wlan)#no security wpa akm dot1x Device(config-wlan)#security web-auth Device(config-wlan)#security web-auth authentication-list WIRELESS_LWA_AUTHENTICATION Device(config-wlan)#security web-auth authorization-list WIRELESS_LWA_AUTHORIZATION Device(config-wlan)#security web-auth parameter-map LWA_PARAMETER_MAP Device(config-wlan)#exit
-
Configure wireless policy profile.
Device(config)#wireless profile policy WLAN_LWA_LOCAL Device(config-wireless-policy)#vlan 100 Device(config-wireless-policy)# no shutdown Device(config-wlan)#exit
-
Create a policy tag.
Device(config)#wireless tag policy LWA_POLICY_TAG Device(config-policy-tag)#wlan WLAN_LWA_LOCAL policy WLAN_LWA_LOCAL Device(config-wlan)#exit
-
Configure a site tag.
Device(config)#wireless tag site SITE_LWA Device(config-site-tag)#exit
-
Assign the policy tag to an Access Point.
Device(config)#ap 28ac.9eb7.7220 Device(config-ap-tag)#policy-tag LWA_POLICY_TAG Device(config-ap-tag)#site-tag SITE_LWA Device(config-ap-tag)#exit