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!
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.[Edited to cope with your updates]
The full sequence of commands should be as follows:
Note#1: you don't need to enter 0 or 7 --- try that. Privilege 15 will give you all the privilege as for a root user.
Note#2: It is always good to not overwrite the previous credential until you know for sure your new user and password are working. If you overwrite it and it does not work, you will lose your access to the switch. If this happened just talk with the person who created your credential to overwrite it for you. Tell him/her that it was a typo. --- Hope this helps