I was given a username and a temporary password on a catalyst switch and I can't figure out how to change my password…
Upon googling, I found this but when I raise my privileges to 15 by typing enable 15
and then type
username gozulin {[1] opensesame}
it says:
^
%invalid input detected at '^' marker
The marker is pointed at the first character after my username.
So, how do I do it?
EDIT: now I type
username gozulin password opensesame
it says:
^
%invalid input detected at '^' marker
EDIT 2: Success!
The system is setup for (md5) encrypted passwords so the command I had to give after was:
username gozulin secret opensesame
Thank you all for your help!
Best Answer
The braces and brackets are just to tell you whether the option is required or not. You need to issue the command like so:
The 0 is because you are using an unencrypted password on the command line (and I hope they have
service password-encryption
enabled!) If you know the encrypted version of your password (normally not, that tends to be used for auto configs) you would set type to 1.