The crypto password irreversible-algorithm hmac-sha256 command sets the ciphertext password encryption algorithm to HMAC-SHA256.
The undo crypto password irreversible-algorithm hmac-sha256 command restores the ciphertext password encryption algorithm to scrypt.
The default ciphertext password encryption algorithm is scrypt.