350-401 · Question #550
Refer to the exhibit. A network engineer attempts to connect to the Router1 console port. Which configuration is needed to allow Telnet connections?
The correct answer is A. Router1(config)# line vty 0 15. To enable remote Telnet connections to a Cisco router, the Virtual Terminal (VTY) lines must be configured, as these lines handle network-based management access.
Question
Options
- ARouter1(config)# line vty 0 15
- BRouter1(config)# telnet client
- CRouter1(config)# line console 0
- DRouter1(config)# access-list 100 permit tcp any any eq telnet
How the community answered
(25 responses)- A88% (22)
- B8% (2)
- D4% (1)
Why each option
To enable remote Telnet connections to a Cisco router, the Virtual Terminal (VTY) lines must be configured, as these lines handle network-based management access.
The `line vty 0 15` command puts the router into configuration mode for the virtual terminal lines, which are specifically designed to accept incoming network-based connections like Telnet and SSH, thus enabling remote access to the router.
The `telnet client` command is used to initiate a Telnet connection *from* the router to another network device, not to enable incoming Telnet connections *to* the router.
The `line console 0` command configures the direct, physical console port, which is used for local serial access and not for remote network-based Telnet connections.
An Access Control List (ACL) entry like `access-list 100 permit tcp any any eq telnet` controls which Telnet traffic is allowed or denied, but it does not enable the Telnet service itself on the router; the VTY lines must first be configured to accept Telnet connections.
Concept tested: Cisco VTY line configuration for Telnet
Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/sec_user_auth/configuration/15-mt/sec-user-auth-15-mt-book/sec-cfg-vty.html
Topics
Community Discussion
No community discussion yet for this question.