MFA for Network Device Administration
Cheat sheet · https://pcornel.dk/topic.php?topic=1494
Answer
MFA for network device administration adds a second factor to administrator logins on routers, switches, firewalls and wireless controllers. The device itself usually does not run MFA: it sends the login to an AAA server (TACACS+ or RADIUS), and that server or an MFA proxy behind it asks for the second factor.
Remember
MFA happens at the AAA server, VPN or jump host, not in IOS. Device timeouts must allow time for a push or code (often 30–60 s). Keep a local fallback account for when AAA is unreachable, store it in a vault and alert on its use. Generic MFA concepts and factor strength: Identity → Multi-Factor Authentication.
First checks
show running-config | section aaa— login lists point at the MFA-enabled server group, withlocalonly as fallback.show tacacs/show aaa servers— server state, response times and failures.test aaa group <group> <user> <password> new-code— what the server answers for a test account.show users/show logging | include LOGIN— who logged in and how.
Verify in this order
admin client → management network / jump host → device VTY or GUI → AAA method list → TACACS+/RADIUS server → MFA provider (push, code, key) → authorization (privilege level / command sets) → accounting log
Where it usually breaks
packet selector → class match → marking → policy attachment → queue/policer/shaper → egress counters/drops → receiver behavior
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1494