216k views
1 vote
When would you enter the command then receive an error: "enable secret 5 password123"? Why did you receive this error?

A) Incorrect syntax
B) Password too long
C) Type 5 encryption not supported
D) Invalid encrypted secret

User Corbie
by
8.0k points

1 Answer

1 vote

Final answer:

The command 'enable secret 5 password123' is incorrect because it contains a syntax error. In Cisco devices, the number '5' indicates that an encrypted password should follow, but the provided password is in plaintext.

Step-by-step explanation:

The error 'enable secret 5 password123' suggests that there is incorrect syntax in the command. When configuring a Cisco device, the correct syntax to set an encrypted password is 'enable secret {password}'. The '5' after 'secret' is not needed unless it is followed by an encrypted string, which is the output of the password encryption process and not a plaintext password. You should enter the command without the '5' or with the '5' followed by an encrypted string if setting an already encrypted password.

User Oleq
by
7.2k points