Book now with code EOY2025
HardDisk wrote: » When would I want to use "enable secret 0 cisco" vs "enable secret cisco" command? Odom text P. 244-245 I've tried it both ways and found that the "show run" results seem to be the same. Plus per Odom's text both passwords are stored in the config file as MD5 values.
Router(config)#enable secret ? 0 Specifies an UNENCRYPTED password will follow 5 Specifies an ENCRYPTED secret will follow LINE The UNENCRYPTED (cleartext) 'enable' secret level Set exec level password
alan2308 wrote: » And when I type "enable secret 5 $1$22z1$DSmD9tY8tcuyi/tjo.GQC/ (which is the hash of cisco) it works. So "enable secret 5" is expecting you to enter the hash? When would it make sense to enter a hash?
DevilWAH wrote: » how about pasting a saved config in to a switch.
alan2308 wrote: » So I've been playing around with this a bit, "enable secret cisco" and "enable secret 0 cisco" both operate the same, the way that I expected. But when I type "enable secret 5 cisco" I get: ERROR: The secret you entered is not a valid encrypted secret. To enter an UNENCRYPTED secret, do not specify type 5 encryption. When you properly enter an UNENCRYPTED secret, it will be encrypted. And when I type "enable secret 5 $1$22z1$DSmD9tY8tcuyi/tjo.GQC/ (which is the hash of cisco) it works. So "enable secret 5" is expecting you to enter the hash? When would it make sense to enter a hash?
Use code EOY2025 to receive $250 off your 2025 certification boot camp!