10-10-2007 12:35 PM - edited 03-05-2019 07:00 PM
The example below is what I am trying to figure out. How do I set password so that when I telnet to switch I get the "user access verification" login?
User Access Verification
Password:
Switch-3560>en
Password:
Switch-3560#
10-10-2007 12:54 PM
Jose,
Router(config)#username cisco password 123
To enable telnet to ask for a username and password
Router(config)#line vty 0 4
Router(config-if) #login local
Regards,
~JG
10-10-2007 03:20 PM
Jose,
I would make a small modification to JG's post to get the login prompt you are looking for. While 'login' under the VTY would cause the switch to prompt for a password 'login local' would cause the switch to prompt for a username and password. Moreover you need to configure the VTY and enable password for this to work.
line vty 0 4
pass cisco
login
enable password cisco
HTH
Sundar
10-11-2007 06:36 AM
Thanks Sundar!
Can you tell me how to configure VTY and enable password to do this?
10-11-2007 07:35 AM
Jose,
Sundar gave you the correct answer above.
ine vty 0 4 (This command allows 5 active telent sessions).
pass cisco (local password to the vty group).
login (optional but the default username is admin)
enable password cisco (This is to set the enable password used for all sessions whether it be via telnet or console.
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: