03-07-2012 11:57 AM - edited 03-07-2019 05:25 AM
I am trying to log into my switch from the cisco network assistant. I type in the ip address of the switch 142.10.10.1 and it asks me for user name and password.
I configured the VTY 0 4 and 0 15 to have a password of abc123
when i type in my password abc123 it does not let me in
I usually use admin as the username and then my password
can some one help
03-07-2012 12:22 PM
Hi,
can you log via console into CLI ? if so post your sh run | be line vty and sh run | i user| aaa
Regards.
Alain
03-07-2012 12:31 PM
Yes I can login to cli from console and telnet.
Sent from my iPhone
03-07-2012 01:23 PM
Hi,
could you post your sanitized config.
Regards.
Alain
03-07-2012 02:01 PM
Can u give me an example . I am not at work now
Sent from Cisco Technical Support iPhone App
03-07-2012 06:23 PM
Darren MacKinnon wrote:
I am trying to log into my switch from the cisco network assistant. I type in the ip address of the switch 142.10.10.1 and it asks me for user name and password.
I configured the VTY 0 4 and 0 15 to have a password of abc123
when i type in my password abc123 it does not let me in
I usually use admin as the username and then my password
can some one help
The Cisco Network assistant does not use the VTY passwords.
It'll use a username/password configured in the configuration, or if there isn't one, then you use the enable password (and no username) to logon.
Try this from a telnet session
configure terminal
(config)#username fred priv 15 secret
(config)#exit
#copy run start
Then try to access the CNA and use the username "fred" and the
Cheers.
12-02-2015 10:07 AM
Hi Darren,
if you configured only the password in 'line vty 0 4' than it should not ask you for a username!
Or did you configure :
line vty 0 4
login local
in that case you will need:
username admin password abc123
in the global config (...config#) mode!
any other login .... command needs AAA config.
'Login local' looks for the username definition in the config. It will still ask you for a username if it doesn't find any, but you won't be able to log in! (via vty that is!)
NOTE:
- Without an enable password you can not enter enable level via vty
- Try the username ... privilege-level command
- Please use only encrypted passwords and ssh v2 in production equipment!
Hope that helps
Mike
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide