The user-password history-password-check command sets the number of historical passwords that cannot be used as a new password.
The undo user-password history-password-check command restores the number of historical passwords that cannot be used as a new password to the default value 10.
By default, the number of historical passwords that cannot be used as a new password is 10.