router usernames and passwords

Unanswered Question
Feb 15th, 2008

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 ?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 0 (0 ratings)
pciaccio Fri, 02/15/2008 - 03:25

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

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

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

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

Login or Register to take actions

This Discussion

Posted February 15, 2008 at 3:23 AM
Stats:
Replies:4 Avg. Rating:
Views:270 Votes:0
Shares:0
Tags: No tags.

Discussions Leaderboard

Rank Username Points
1 14,997
2 8,150
3 7,725
4 7,083
5 6,732
Rank Username Points
175
84
70
59
55