Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Level_15_access

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

6 REPLIES
Purple

Level_15_access

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

Don't forget to rate helpful posts.
New Member

Re: Level_15_access

Yes I can login to cli from console and telnet.

Sent from my iPhone

Purple

Level_15_access

Hi,

could you post your sanitized config.

Regards.

Alain

Don't forget to rate helpful posts.
New Member

Re: Level_15_access

Can u give me an example . I am not at work now

Sent from Cisco Technical Support iPhone App

Silver

Level_15_access

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 you entered.

Cheers.

New Member

Hi Darren,

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

29913
Views
0
Helpful
6
Replies
CreatePlease to create content