11-09-2021 09:35 AM
I have a 4331 router and I'm trying to add a username and password. The password has "$" and the router removes that character as well as the one after. Below is an example of the command I'm using and even though it shows up when I do a "sh run" it won't let me log in using the password I put in.
conf t# username (username here) privilege 15 secret (password here)
11-10-2021 02:10 AM
hi,
the password is encrypted and that's normal.
how do you connect to your 4K router using the local user/login? is it via console or remote telnet/SSH?
make sure you've configured 'login local' under the line console or VTY:
config t
line con 0
login local
line vty 0 4
login local
11-10-2021 03:42 AM
I have logged in via console and I am currently trying to SSH into it. I get an "invalid input" and the "local" when I try and input that command. If I do "password" instead of "secret" it shows that it has removed the "$" in the password as well as the character after so for example if my password is "P@$$w0rd$21" it will save it as "P@0rd1" and it will let me log in using that password without the "$"
11-16-2021 06:28 AM
USE THIS INSTEAD
username USER privilege 15 secret 9 PASSWORD
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