cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
679
Views
0
Helpful
3
Replies

4331 router doesn't take secret password

neelw1870
Level 1
Level 1

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)

3 Replies 3

johnlloyd_13
Level 9
Level 9

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

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 "$"

USE THIS INSTEAD

 

username USER privilege 15 secret 9 PASSWORD

Review Cisco Networking products for a $25 gift card