Networking · Security › AAA
AAA Accounting
Cheat sheet · https://pcornel.dk/topic.php?topic=753
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
localfallback 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— sessionsshow 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
| Event | Typical value |
|---|---|
| EXEC start/stop | Session accountability |
| Command record | Administrative action trail |
| Timestamp | Correlation with other evidence |
| Server receipt | Separate 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