Creating users on a Cisco router

Home -> Networking -> Cisco -> Routers

26072 views

From the computer of: headhunter (10 recipes)
Created: Oct 07, 2004     Updated: Aug 31, 2006


Add a comment

Add to:
Add to stumbleuponAdd to del.icio.usDigg itAdd to FURL

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.

Subscribe to the Tech-Recipes Newsletter

You can get tips like this delivered in your email every week!

Enter your Email

We will never, ever sell your email address or spam you.





Related recipes:

  Send messages to other users on a Cisco Router
  Configuring OSPF on a Cisco router
  Configure Cisco router as a basic DHCP server
  Show or list which users are logged into a Cisco router
  How to enable local logging on a Cisco router.
  Set the hostname of a Cisco router
  Configure Cisco router to set time from NTP server
  Configure IGRP routing on a Cisco router
  Assign or configure IP addresses on Cisco routers
  Configure Cisco router as an NTP server

 

Sponsored links

 

Login

Nickname

Password

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.