change-password

Changes the user's password

Supported on the following devices:

Syntax

change-passwd {<OLD-PASSWORD>} <NEW-PASSWORD>

Parameters

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.

Usage Guidelines

A password must have 1 - 64 characters.

Examples

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#