Exam 200-301 Question id=5557 Security Fundamentals

You need to set the Telnet password to "john" on a Cisco router. Which set of commands would you use?

A. Router(config)#line vty 0 4 Router(config-line)#login Router(config-line)#password john
B. Router(config)#line con 0 Router(config-line)#login Router(config-line)#password john
C. Router(config)#line vty 0 4 Router(config-line)#login Router(config-line)#enable secret john
D. Router(config)#line con 0 Router(config-line)#login Router(config-line)#enable password john

The set of commands which would be used to configure the Telnet password to "john" on a Cisco router is:
Router(config)#line vty 0 4 Router(config-line)#login Router(config-line)#password john
The line vty command is used to configure the router to enable Telnet access. By using this command, the router can be configured to accept one or more Telnet sessions.

The login and password parameters are the line configuration commands used to configure the password. The password command specifies the password and the login command instructs the router to require the password. By default, the login parameter is present in the configuration of the VTY lines. Because its presence indicates that a password is required for connecting to the VTY lines, if a password has not been configured on the VTY lines, a connection cannot be made. If an attempt were made to connect to the VTY line with the login parameter in effect and no password present, the following error message would be generated:
Router2# telnet 10.3.1.1 Trying 10.3.1.1Open Password Required, but none set [Connection to 10.3.1.1 closed by foreign host] Router2#
The following set of commands would be used to configure the console password on a Cisco router, and so it is incorrect for this scenario.
Router(config)# line con 0 Router(config-line)# login Router(config-line)# password john
The commands enable secret john and enable password john would be used to configure the enable secret password and the enable password for the router. However, they cannot be used to configure the Telnet password. Therefore, these options are incorrect.



WARNING

the answers are mixed, do not specify in the comment number or the letter of the answer
please write answer#A instead A, answer#B instead B...
Subject:

only logged users can write comments