Creating Users on a Cisco Router
This tech-recipe will allow you to create multiple users on a router. It is also a handy tool to find out who did what and at what time (permitting logging is on and the correct date/time is configured).
We first start by creating the users. Use the following command:
username user password password
We will use this command for each user we want to create.
Now, we enable the use of usernames to log in to the router.
We use the following commands:
aaa authentication login default local
The first line enables aaa or authentication, authorization, and accounting. The second line is telling the router to use the local user database which was created in the first step.
Now that this is enabled on the router, logging into the router (console, telnet) will prompt for a username/password.
Follow the reactions below and share your own thoughts.