16.9k views
2 votes
When would you enter the command then receive an error: Command: "enable secret 5 password123" 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. Why did you receive this error?

A) Typographical Error
B) Encryption Already Applied
C) Invalid Encryption Type
D) Incorrect Secret Format

User Dieguico
by
8.6k points

1 Answer

6 votes

Final answer:

The error occurred due to specifying an invalid encryption type when setting an enable secret in Cisco IOS. The correct method is to enter the password without specifying an encryption type for it to be automatically encrypted.

Step-by-step explanation:

The error message you received when entering the command "enable secret 5 password123" suggests that there is an issue with the encryption type specified. Specifically, the error indicates that invalid encryption type or incorrect format for entering a secret password was used in Cisco command-line interface (CLI). The correct option is C) Invalid Encryption Type. Cisco IOS requires that when setting an enable secret, if encryption is already included (type 5 refers to the MD5 hashing), you simply need to enter the command without specifying type 5. If entering an unencrypted password, use the enable secret command without specifying an encryption type, and the system will automatically encrypt it.

User Timur Panzhiev
by
8.4k points