Exam 400-101 | Question id=736 | Infrastructure Security |
RouterMain(config)#username Router1 password Kyiv
RouterMain(config)#username Router2 password Kyiv
RouterMain(config)#username Router3 password Kyiv
RouterMain(config)#interface s0/1
RouterMain(configif)#encapsulation ppp
RouterMain(configif)#ppp authentication chap
RouterMain(configif)#exit
RouterMain(config)#interface s0/2
RouterMain(configif)#encapsulation ppp
RouterMain(configif)#ppp authentication chap
RouterMain(configif)#exit
RouterMain(config)#interface s0/3
RouterMain(configif)#encapsulation ppp
RouterMain(configif)#ppp authentication chap
Router1(config)#username routermain password kyiv
Router1(config)#interface s0/1
Router1(configif)#encapsulation ppp
Router1(configif)#ppp authentication chap
Router2(config)#username RouterMain password Kyiv
Router2(config)#interface s0/1
Router2(configif)#encapsulation ppp
Router2(configif)#ppp authentication chap
Router3(config)#username RouterMain password kyiv
Router3(config)#interface s0/1
Router3(configif)#encapsulation ppp
Router3(configif)#ppp authentication chap
Which of the following routers will be able to connect successfully to RouterMain?
A. |
Router1 | |
B. |
Router2 | |
C. |
Router3 |
Only Router2 will be able to connect successfully to RouterMain. The syntax of the username command is username hostname password password. By default, the hostname parameter is the host name configured in the hostname command of the peer router. However, you can use the ppp chap hostname command to specify a separate host name that is used only for Challenge Handshake Authentication Protocol (CHAP) authentication. Since the ppp chap hostname command has not been issued on the routers in this scenario, the host name that should be specified in the username command is the normal host name for each router.
Router1 will not be able to connect successfully to RouterMain, because the host name and password are specified incorrectly in the username command on Router1. The host name and password specified in the username command are case-sensitive. Therefore, the host name "routermain" does not match the hostname "RouterMain", and the password "kyiv" does not match the password "Kyiv". To enable Router1 to connect, you should issue the username RouterMain password Kyiv command.
Router3 will not be able to connect successfully to RouterMain. Although the host name is specified correctly in the username command on Router3, the password is specified incorrectly? the password "kyiv" does not match the password "Kyiv". To enable Router3 to connect, you should issue the username RouterMain password Kyiv command.