Pcornel
Networking · Security › AAA

AAA Accounting

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

Back to the Topic

Answer

AAA accounting records what users did and when — logins, commands, session times — and sends the records to a TACACS+ or RADIUS server for audit and billing.

Remember

  • Authentication, authorization and accounting are separate decisions
  • TACACS+ commonly separates AAA functions and encrypts the payload
  • RADIUS commonly combines authentication/authorization and is widely used for network access
  • local fallback is evaluated only according to method-list reachability/failure semantics, not every rejection
  • Test new method lists on a spare session before closing the known-good session.

First checks

  • show aaa sessions — sessions
  • show running-config | include aaa accounting — accounting config
  • TACACS+/RADIUS server accounting log — records

Commands

show aaa servers
Inspect AAA server state/statistics.

Verify in this order

session/command → accounting record → AAA server

Where it usually breaks

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

Accounting · technical reference

EventTypical value
EXEC start/stopSession accountability
Command recordAdministrative action trail
TimestampCorrelation with other evidence
Server receiptSeparate from device send attempt

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

Confirmation

Confirm action

Continue?