Pcornel
Networking · Security › AAA

Verification

Cheat sheet · https://pcornel.dk/topic.php?topic=757

Back to the Topic

Answer

Verifying AAA means testing that login, authorization and accounting work against the server, and that the fallback works when the server is unreachable.

Remember

Test both outcomes: a valid user is accepted, an invalid one rejected. Then simulate a server outage and confirm the local fallback. A rejected login does not fall back — that is by design.

First checks

  • show running-config | section aaa — method lists for login, exec and commands.
  • show aaa servers — RADIUS/TACACS+ servers, state and request counters.
  • show aaa sessions — active AAA sessions.
  • test aaa group <group> <user> <password> new-code — test authentication against a server.
  • debug aaa authentication — step-by-step decision (briefly).

Commands

show aaa servers
Inspect AAA server state/statistics.
show running-config | section aaa
Display only the AAA part of the running configuration.
test aaa group <group> <username> <password> legacy
Test authentication of a user against an AAA server group.
show tacacs
show aaa method-lists all
test aaa group <grp> <user> <pw> new-code
test aaa
test aaa group TACACS user1 <password> new-code
show privilege

Verify in this order

aaa new-model → method list defined → applied to lines → login request sent to the first method → server answers accept/reject → fallback only if unavailable → authorization and accounting recorded

Where it usually breaks

local configuration → reachability/transport → request/negotiation → server or policy decision → response/state installation → client-visible result

Verification · technical reference

CheckEvidence target
Method/serverWhich path handled request
AuthenticationIdentity success/reject/error
AuthorizationEffective privilege/commands
AccountingServer received expected records

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=757

Confirmation

Confirm action

Continue?