Implementing and Operating Cisco Enterprise Network Core Technologies (ENCOR) — Question 693
A network engineer must configure the VTY lines on a router to achieve these results:
• Remote access should be permitted only for secure protocols.
• Only a password should be required for device authentication.
• All idle EXEC sessions must be terminated in 60 minutes.
Which configuration should be applied?
Answer options
- A. line vty 0 15 password Cisco123 transport input ssh exec-timeout 60
- B. line vty 0 15 login password Cisco123 transport input ssh exec-timeout 60
- C. line vty 0 15 password Cisco123 transport input telnet ssh exec-timeout 60
- D. line vty 0 15 password Cisco123 transport input all session-timeout 60
Correct answer: B
Explanation
Option B is correct because it includes the 'login' command, which is necessary for password authentication, and it restricts remote access to only SSH. Options A and C do not include the 'login' command, making them invalid for authentication, and option D allows all transport protocols, which does not meet the requirement for secure access only.