So, you've run into a situation where after issuing the command
Cisco(config)# enable password MyNewPassword
or
Cisco(config)# username MyUser password MyNewPassword
the password nevertheless isn't applied, and stays the same as before.
The explanation may lie in the fact that the previous admin set the password via secret - in that case the Cisco will rely on the protected, encrypted password, and not on your plaintext one.
You can find this out via sh run:
Cisco# sh run
...
!
enable secret 1f5g8c71gf871345134br1v34
!
...
do you see the line 'enable secret'? If it's there - that means an encrypted password is currently in effect, and setting a regular one has no effect on the login procedure.
To change this - either also set a secret password, or simply disable the previous one:
Cisco(config)# no enable secret
Cisco(config)# no username secret
Comments