Which set of commands will accomplish this task?

A network administrator needs to allow only one Telnet connection to a router. For anyone viewing
the configuration and issuing the show run command, the password for Telnet access should be
encrypted. Which set of commands will accomplish this task?

A network administrator needs to allow only one Telnet connection to a router. For anyone viewing
the configuration and issuing the show run command, the password for Telnet access should be
encrypted. Which set of commands will accomplish this task?

A.
service password-encryption
access-list 1 permit 192.168.1.0 0.0.0.255
line vty 0 4
login
password cisco
access-class 1

B.
enable password secret
line vty 0
login
password cisco
enable password secret
line vty0
login
password cisco

C.
service password-encryption
line vty 1
login
password cisco
service password-encryption
line vty1
login
password cisco

D.
service password-encryption
line vty 0 4
login
password cisco
service password-encryption
line vty0 4
login
password cisco

B.
enable password secret
line vty 0
login
password cisco
enable password secret
line vty0
login
password cisco

C.
service password-encryption
line vty 1
login
password cisco
service password-encryption
line vty1
login
password cisco

D.
service password-encryption
line vty 0 4
login
password cisco
service password-encryption
line vty0 4
login
password cisco

Explanation:
A. service password-encryption
access-listl permit 192.168.1.0.0.0.0.255
line vty0 4
login
password cisco
access-class 1
Only one VTY connection is allowed which is exactly what’s requested.
Incorrect answer: command.
line vty0 4
would enable all 5 vty connections.



Leave a Reply 1

Your email address will not be published. Required fields are marked *


anon coward

anon coward

The answers are all messed up on this one.

service password-encryption
line vty 0
login
password cisco

Question says nothing of an access list, let alone one that defines a full 254 possible hosts that could connect.
line vty 0 4 would enable all 5

so service password encryption hides the passwords
line vty 0 selects only 1 session to configure, leaving others default (and inactive because no password)
login sets the session to require a login of some sort (without anything following, it uses the password configured in the line)
password cisco sets the password needed to login

HTH