Enter global configuration mode and set the default to Type 9.
If you are auditing your network and find Type 5 hashes, treat them as a vulnerability and update them immediately. cisco secret 5 decrypt
The resulting encrypted password is stored in the device's configuration file, preceded by the string $1$ or $5$ , which indicates the encryption type. Enter global configuration mode and set the default