Create guest user accounts
A guest user account is a user account type that
-
grants temporary access to a WLAN or SSID
-
is created by a network administrator or lobby ambassador, and
-
automatically expires after a configured duration.
The controller can provide guest user access on WLANs. You must create guest user accounts to enable this access. The lobby ambassador has limited configuration privileges and can access only the web pages used to manage guest user accounts.
The lobby ambassador can specify how long guest user accounts remain active.
You can associate a user name with a WLAN profile name to restrict guest users to a specific WLAN.
Prerequisites for guest users
-
Guest users are created by administrator or lobby ambassador.
-
Guest user should be role-based.
-
Guest users should be able to connect to the network and access the internet.
-
Guest users configured locally or remotely (through RADIUS or TACACS) do not have access to the device through Telnet, SSH, or WebUI.
Create a guest user account (GUI)
Procedure
|
Step 1 |
Choose . |
|
Step 2 |
On the Guest User page, click Add. |
|
Step 3 |
Enter a user name, password, and description for the new account. Check the Generate password check box to automatically generate a password. |
|
Step 4 |
Enter the number of simultaneous user logins. The valid values range between 0 to 64. Enter zero for unlimited users. |
|
Step 5 |
In the Lifetime section, choose the number of years, months, days, hours, and minutes. |
|
Step 6 |
Click Save & Apply to Device. |
Create a guest user account (CLI)
Procedure
|
Step 1 |
Enter the global configuration mode. Example:
|
||
|
Step 2 |
Create a guest user account. Example:
|
||
|
Step 3 |
Specify the account type as guest user account. Example:
|
||
|
Step 4 |
Create a password for the guest user account. Example:
|
||
|
Step 5 |
Create a AAA attribute list to apply QoS profiles on the guest user account. Example:
|
||
|
Step 6 |
Return to the global configuration mode. Example:
|
Verify guest user account
Device# show aaa local guest_user all
User-Name : new4
Type : GUEST USER
Password : *
Is_passwd_encrypted : No
Attribute-List : Not-Configured
Viewname : Not-Configured
Lobby Admin Name : NEW_LOBBY_ADMIN
Max Login Limit : 0
Description : guest
Start-Time : 07:56:39 IST Jan 25 2019
Lifetime : 1 years 0 months 0 days 0 hours 0 mins 0 secs
Expiry-Time : 07:56:39 IST Jan 20 2020 Remaining Lifetime : 0 years 11 months 29 days 22 hours 52 mins 49 secs
To verify a specific guest user account, use this command:
Device# show aaa local guest_user new_guest3
User-Name : new_guest3
Type : GUEST USER
Password : *
Is_passwd_encrypted : No
Attribute-List : Not-Configured
Viewname : Not-Configured
Lobby Admin Name : INVALID_ADMIN
Max Login Limit : 9
Description : new
Start-Time : 04:39:01 IST Feb 4 2019
Lifetime : 1 years 0 months 0 days 0 hours 0 mins 0 secs
Expiry-Time : 04:39:01 IST Jan 30 2020
Remaining Lifetime : 0 years 11 months 11 days 21 hours 16 mins 34 secs
Assign username to guest users in a WLAN (CLI)
Before you begin
-
If a WLAN profile name is configured for a user, guest user authentication is allowed only from that WLAN.
-
If a WLAN profile name is not configured for a user, guest user authentication is allowed on any WLAN.
-
To operate in connected mode, configure the AAA policy override under both SSID policies before you assign a username to a guest user on a WLAN.
Procedure
|
Step 1 |
Enter the configuration mode. Example:
|
||
|
Step 2 |
Assign a username to the WLAN profile. Example:
|
||
|
Step 3 |
Display the values of the WLAN profile. Example:
|
||
|
Step 4 |
Return to the privileged EXEC mode. Example:
|
Feedback