Networking · Security › Device Hardening
Local users
Cheat sheet · https://pcornel.dk/topic.php?topic=1480
Answer
Local users are accounts stored on the device (username <name> privilege <n> secret <password>) used for login or as fallback when AAA servers are unreachable.
Remember
- SSHv2 protects the session; VTY policy still controls who may connect and how users authenticate
- Use a dedicated management VRF/interface where supported and restrict sources with ACL/firewall policy
- Disable Telnet and unused HTTP services
- Prefer named administrators, AAA, least privilege, timeouts and audit logging
- Preserve an out-of-band recovery path before changing remote access.
First checks
show running-config | include username— local users- Local fallback account documented — break-glass
Commands
show loginshow login failuresshow users
Verify in this order
local users → minimal break-glass → AAA primary
Where it usually breaks
physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1480