1. if service password-encryption is turned on, turn it off first
by
no service password-encryption
2. enter your password eg. for console password
config t
line con 0
password
3. re-enable service password-encryption
config t
service password-encryption