Specifications
clear password
50
clear password
Clears the user login password. The operation differs depending on the command input
mode as follows:
1. In user mode, only the login user password can be deleted.
2. In administrator mode, the login user password and the password for enable mode
can be deleted.
Syntax
clear password
clear password enable-mode
Input mode
User mode and administrator mode
Parameters
enable-mode
In administrator mode, a password for enable mode can be deleted.
If the
enable-mode parameter is not specified, only the login user password is
deleted.
Example
Delete the login user password in administrator mode.
# clear password
Changing local password for xxxxxxx --- The login user name is displayed.
Password cleared.
#
Delete the password of a login user.
> clear password
Changing local password for xxxxxxx --- The login user name is displayed.
Old password:******** ... Enter the current password.
Password cleared.
>
Display items
None
Impact on communication
None
Response messages
Table 5-2 List of response messages for the clear password command
Message Description
Password unchanged. The password deletion was canceled.
Permission denied. Deletion of the password is not allowed.