Creating users on a Cisco router

Contributor Icon Contributed by Headhunter  
Tag Icon Tagged: Cisco router  

This will allow you to create multiple users on a router and is a handy tool to find out who did what at what time (permitting logging is on and the correct date/time is configured)


We first start of with creating the users using the following command:
username user password password

We use this command for each user we want to create.

Now we enable the use of usernames to login to the router.
We use to following commands:
aaa new-model
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.

 

4 Comments -


  1. TP1 said on April 19, 2009

    not enough information no exampled given

  2. Anonymous said on August 31, 2009

    What if you configure a login and get dropped before you create the username?

    WAK_1720_Interne(config-line)#line vty 0 4
    WAK_1720_Interne(config-line)#exec-time 60 0
    WAK_1720_Interne(config-line)#privilege level 15
    WAK_1720_Interne(config-line)#login local
    WAK_1720_Interne(config-line)#transport input telnet

  3. Hunny_sachdevaa said on June 29, 2010

    not given proper info…….

  4. Rajput Kumar87 said on December 16, 2010

    What is the default User of Router ?
    when we start router router start which user name

 

RSS feed for comments on this post. TrackBack URL

Leave a comment -