02-15-2008 03:23 AM - edited 03-05-2019 09:10 PM
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 ?
02-15-2008 03:25 AM
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...
02-15-2008 03:54 AM
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!!!
02-15-2008 05:23 AM
what exactly is that achieving ? why have you put the password under the vty line ? if there is already a username configured ?
02-15-2008 05:31 AM
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
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: