How do I add multiple users at a time to the internal-db using the CLI?

Aruba Employee

Introduction :

 

The Aruba OS software allows you to use an external authentication server or the controller internal user database to authenticate clients who need to access the wireless network.
 
You can create entries in the controller’s internal database, to use to authenticate clients. The internal database contains a list of clients along with the password and default role for each client. When you configure the internal database as an authentication server, client information in incoming authentication requests is checked against the internal database.
 
Configuring the Internal Database:
 
By default, the internal database in the master controller is used for authentication. You can choose to use the internal database in a local controller by entering the CLI command aaa authentication-server internal uselocal- switch. If you use the internal database in a local controller, you need to add clients on the local controller.

 

 

Feature Notes : Adding multiple users to the internal-db:

Yes, you can add multiple users at a time to the internal-db using the CLI. You can use WebUI to add users to the internal-db, but you can add only one user at a time.

 

Configuration Steps

To add multiple users at a time to the internal-db using the CLI, follow these steps:
 
1)  Open a notepad or spreadsheet and fill in these details in this format:
 
local-userdb add username "username" password "password"
local-userdb add username "username" password "password"
 
2)  Copy the details, open a CLI, paste it in the enable mode, and press Enter.
 
3)  Verify it by issuing this command:
 
show local-userdb
 

How To Doc : 

 

download.png

Version history
Revision #:
1 of 1
Last update:
‎07-17-2014 05:43 AM
Updated by:
 
Labels (1)
Contributors
Comments
chuckster_ca

Thanks for this but how can I add a command to disable the account for a specific date and time? Let's say March 1, 2017 at 17:00. 

 

t.thielemans

Is there a way to assign a role to the user as well?

Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: 
Is this a frequent problem?

Request an official Aruba knowledge base article to be written by our experts.