cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
58830
Views
0
Helpful
6
Replies

Level_15_access

darren849
Level 1
Level 1

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 6

cadet alain
VIP Alumni
VIP Alumni

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.

Yes I can login to cli from console and telnet.

Sent from my iPhone

Hi,

could you post your sanitized config.

Regards.

Alain

Don't forget to rate helpful posts.

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

Sent from Cisco Technical Support iPhone App

darren.g
Level 5
Level 5

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.

m-geisler
Level 1
Level 1

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

Review Cisco Networking products for a $25 gift card