Exam4Training

Which authentication method will be used if a user tries to login to the switch when accessing through SSH?

Refer to the Exhibit.

Switch-1(config)# radius server host 10.1.1.111

Switch-1(config-radius)# key "secretkey"

Switch-1(config-radius)# exit

Switch-1(config)# aaa authentication login "LOCAL-AUTH" local

Switch-1(config)# aaa authentication login "REMOTE-AUTH" radius local

Switch-1(config)# aaa authentication enable "REMOTE-AUTH" radius enable

Switch-1(config)# aaa authentication login default tacacs local

Switch-1(config)# aaa authentication enable default tacacs enable

Switch-1(config)# line telnet Switch-1(config-telnet)# login authentication "REMOTE-AUTH"

Switch-1(config-telnet)# exit Switch-1(config)# line ssh

Switch-1(config-ssh)# login authentication default

Switch-1(config)# exit Switch-1(config)# line console

Switch-1(config-line)# login authentication "LOCAL-AUTH"

Switch-1(config-line)# exit

Which authentication method will be used if a user tries to login to the switch when accessing through SSH?
A . RADIUS, then fails over to a local user account
B . Local user account
C . TACACS, then fails over to a local user account
D . None

Answer: C

Exit mobile version