CCNA: Cisco Certified Network Associate — Question 42
Which command prevents passwords from being stored in the configuration as plain text on a router or switch?
Answer options
- A. enable secret
- B. enable password
- C. service password-encryption
- D. username cisco password encrypt
Correct answer: C
Explanation
The correct command is 'service password-encryption', which encrypts passwords in the configuration file to enhance security. The other options do not provide encryption for stored passwords; 'enable secret' and 'enable password' set passwords but do not encrypt them, while 'username cisco password encrypt' is not a valid command for encrypting passwords in the configuration.