Changes the password of a logged user. When this command is executed without any parameters, the password can be changed interactively.
Note
This command and its syntax is common to both the User Executable and Privilege Executable configuration modes.change-passwd {<OLD-PASSWORD>} <NEW-PASSWORD>
change passwd {<OLD-PASSWORD>} <NEW-PASSWORD>
<OLD-PASSWORD> |
Optional. Specify the existing password. |
<NEW-PASSWORD> |
Specify the new password. Note: The password can also be changed interactively. To do so, press [Enter] after the command.
|
A password must be from 1 - 64 characters.
rfs4000-6DB5D4>change-passwd Enter old password: Enter new password: Password for user 'admin' changed successfully Please write this password change to memory(write memory) to be persistent. rfs4000-6DB5D4#write memory OK rfs4000-6DB5D4>
nx9500-6C8809#change-passwd Enter old password: Enter new password: Password for user 'admin' changed successfully Please write this password change to memory(write memory) to be persistent. nx9500-6C8809#write memory OK nx9500-6C8809#