Cisco CCNA (200-301) free question 8 / 10 · Domain 4: Network Services and Security
A switch uses aaa authentication login default group tacacs+ local. The TACACS+ server is reachable and answers REJECT for a username. What does the switch do next?
- It prompts again and switches to the enable password as the next method
- It marks the server as dead and retries the login with the default method list
- It denies the login and stops, without querying the local username database
- It queries the local username database as the next method after the TACACS+ rejection
Show the answer and explanation
Answer: C
Why this is correct
A method list is queried in order, but the software moves to the next method only when the previous one does not respond. If the security server or the local username database responds by denying the user, authentication stops and no other method is attempted. The REJECT from TACACS+ therefore ends the login attempt.
Why the other options are wrong
"It queries the local username database as the next method after the TACACS+ rejection" … The next method is tried only when the previous method gives no response. A REJECT is a response that denies access, so the process stops.
"It prompts again and switches to the enable password as the next method" … The method list defines the methods that are queried, and an enable password is used only if the list names it. Here the list contains TACACS+ and local, and the REJECT ends the cycle.
"It marks the server as dead and retries the login with the default method list" … A denial from the security server stops the authentication process. The list is not restarted, and no other method is attempted.
Key points
This is why a local method placed after a server group protects against an unreachable server, but not against a server that answers with a denial. The default method list applies to all lines or interfaces that have no named list.
Go to the Cisco CCNA (200-301) practice app (10 free questions; purchase unlocks all questions)