Question

When applied to a router, which command would help mitigate brute-force password attacks against the router?


radio_button_unchecked
banner motd $Max failed logins = 5$

radio_button_unchecked
exec-timeout 30

radio_button_unchecked
login block-for 60 attempts 5 within 60

radio_button_unchecked
service password-encryption

Answers

GPT-4o mini
The command that would help mitigate brute-force password attacks against the router is:

**login block-for 60 attempts 5 within 60**

This command temporarily blocks any further login attempts for a specified duration after a certain number of failed login attempts within a defined time window. In this case, it would block logins for 60 seconds after 5 failed attempts within 60 seconds, making it harder for attackers to successfully brute-force the password.