CCNA: Cisco Certified Network Associate — Question 1351
A Cisco engineer is configuring a factory-default router with these three passwords:
✑ The user EXEC password for console access is p4ssw0rd1.
✑ The user EXEC password for Telnet access is s3cr3t2.
✑ The password for privileged EXEC mode is priv4t3p4ss.
Which command sequence must the engineer configure?
Answer options
- A. enable secret priv4t3p4ss ! line con 0 password p4ssw0rd1 ! line vty 0 15 password s3cr3t2
- B. enable secret priv4t3p4ss ! line con 0 password p4ssw0rd1 login ! line vty 0 15 password s3cr3t2 login
- C. enable secret priv4t3p4ss ! line con 0 password login p4ssw0rd1 ! line vty 0 15 password login s3cr3t2 login
- D. enable secret privilege 15 priv4t3p4ss ! line con 0 password p4ssw0rd1 login ! line vty 0 15 password s3cr3t2 login
Correct answer: B
Explanation
The correct answer is B because it properly configures the console and Telnet access passwords with the 'login' command, ensuring that the passwords are required for access. Option A lacks the 'login' command for both lines, while option C incorrectly places 'login' in front of the passwords, and option D uses an incorrect command format with 'privilege 15' instead of 'secret'.