You get a bonus - 1 coin for daily activity. Now you have 1 coin

Cisco: Login Doesn't Ask for Username, Goes Straight to Password - How to Fix It

Practice



So, you're logging into a Cisco device and it immediately asks for the password without asking for the username (login). That is, all Cisco users effectively work under one single account. But you want the Cisco to first ask for the username (login), and only then the password for that specific user.

And, of course, the users configured via username xxx password yyy currently don't work - since the Cisco doesn't ask for a login.


Let's get to it. Log in to it and execute:
CISCO> enable
CISCO# config t
CISCO(config)# aaa new-model
CISCO(config)# username myuser password mypassword
CISCO(config)# end

Here you can see that after enabling new-model for authorization we immediately created a user - otherwise the Cisco wouldn't let us back in afterward, since it would be asking for a login and password.

Log out of the terminal and log back in. If everything worked and now the Cisco starts by asking you for a login and password, then save the configuration from RAM to ROM:
CISCO# copy running-config startup-config

Comments

To leave a comment

If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Lectures and tutorial on "Computer networks"

Terms: Computer networks