Cisco username and password

RIP, OSPF, EIGRP, IGRP, BGP, IS-IS, Static Routes, IPv4, IPv6, ODR

Cisco username and password

Postby silversid » April 26th, 2011, 9:12 am

Hi all,

how can I configure a Cisco router to ask for a username and password when connecting to it with telnet or ssh?
silversid
crumb
 
Posts: 11
Joined: April 6th, 2011, 10:42 am

Advertisement

Re: Cisco username and password

Postby Jay Whale » April 26th, 2011, 10:07 am

silversid wrote:Hi all,

how can I configure a Cisco router to ask for a username and password when connecting to it with telnet or ssh?


@silversid

There are a few ways to configure this, the one method is to create a local database with usernames and password that can be used to allow access to the device, the other method used primarily in larger networks is to implement a database solution that will keep track of the usernames and passwords of the users and just have the Cisco devices point to that database. For the central control Cisco has an application called ACS which you can create all the usernames and passwords in, or even point it to your domain repository like Windows Active Directory.

I'll assume you are looking for the quicker local login access which you can configure like this.

conf t
username Jay privilege 15 password ccna
username silversid privilege 15 password ccna
{The above two commands will create a username for you and me with our passwords been set to 'ccna'}

We then need to tell the Cisco router that we wish to use the local database for login permissions, this needs to be set on the lines (vty/ssh)
line vty 0 4
login local

you can also configure this to be used on the console connections as well
line console 0
login local
Jay Whale
Site Admin
 
Posts: 49
Joined: March 18th, 2011, 10:55 am


Return to ROUTING

 


  • { RELATED_TOPICS }
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

  • Advertisement
cron