193k views
5 votes
You enter the command: "enable password 7 password123" You get the error: "Invalid encrypted password: password123" Why did you receive this error?

A) Incorrect Syntax
B) Password Too Long
C) Password Not Encrypted
D) Invalid Password Type

1 Answer

1 vote

Final answer:

The error "Invalid encrypted password: password123" is due to providing a plaintext password where an encrypted password is expected. The '7' in the command signifies that the following password should be encrypted. Hence, the correct reason for the error is C) Password Not Encrypted.

Step-by-step explanation:

When you entered the command "enable password 7 password123" and received the error "Invalid encrypted password: password123", it suggests that the issue is with C) Password Not Encrypted. In Cisco IOS, when you use the '7' after the password command, it indicates that the following string is an encrypted password. However, the string 'password123' you entered is a plaintext password, not an encrypted one. To set an encrypted password, you need to use the command to encrypt the plaintext password first, or provide an already encrypted string. The command as entered expects an encrypted string following the '7'.

User Rypskar
by
8.1k points