router usernames and passwords

Unanswered Question
Feb 15th, 2008
User Badges:

Hi all


when creating usernames for my routers/switches etc, what will happen if instead of using the line vty 0 4 password command, I type from global config, username "" password ""


will this prompt me for a username and password? or do i need to configure aaa authentication local first ?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
pciaccio Fri, 02/15/2008 - 03:25
User Badges:
  • Silver, 250 points or more

In order to use the local USERNAME command for local database then you need to add the LOGIN LOCAL to your VTY lines to use it. You can also enable AAA and set up Authentication to log you in locally as well...

Goutam Sanyal Fri, 02/15/2008 - 03:54
User Badges:
  • Silver, 250 points or more

Hi,


U can try the following:



conf t

!

line vty 0 4

password carl_townshend

transport input telnet ssh

transport output telnet ssh

!

!

aaa authentication login default local

aaa authorization exec default local

!

username [carl_townshend] privilege 15 secret [carl_townshend]

!


Thanks

Goutam

Pls rate if it helps!!!



carl_townshend Fri, 02/15/2008 - 05:23
User Badges:

what exactly is that achieving ? why have you put the password under the vty line ? if there is already a username configured ?

Goutam Sanyal Fri, 02/15/2008 - 05:31
User Badges:
  • Silver, 250 points or more

Hi carl_townshend


Can u clarify me why I'll not put the password under line vty? When Cisco IOS providing that with out any extra cost. :)


Pls correct me if i am wrong!!!

10x

Goutam

Actions

This Discussion