Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

AAA (Authentication, Authorization and Accounting)

Direct answer

AAA — authentication, authorization, accounting — is the framework that makes a network device ask a central server (RADIUS or TACACS+) who may log on, with which rights, and records what they did.

When to use this

Use it when administrators cannot log on to devices, land at the wrong privilege level, or before changing AAA on a device you could be locked out of.

First 30 seconds

1. AAA = Authentication (who), Authorization (what), Accounting (what was done).

2. Centralise with RADIUS/TACACS+/directory.

3. Keep a local fallback account for outages.

4. Log to a central system.

5. Review accounting logs.

Operational verification

user → authenticate → authorise → act → account (log)

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common interpretation traps
  • "If the server rejects the user, the local account takes over." The next method is tried only when the server does not answer at all.
  • "The user can log on, so AAA works." Authorization is separate; the user may land at the wrong privilege level.
  • "aaa new-model is harmless on its own." It immediately changes how every line authenticates.
  • "The default list covers the console differently." It applies to all lines unless a named list is attached.
  • "The server is reachable by ping, so AAA can use it." The protocol port, the shared key and the source address the server expects must also match.
  • "Accounting is on because authentication is." It is configured separately.
Common traps

Success at one AAA stage shows only that stage for the tested request, but it does not show later enforcement, resource outcome, complete accounting or secure failure behavior.

Suspicious evidence: implicit local fallback, fail-open access, attribute loss, inconsistent policy, missing stop records, shared sessions or successful AAA with an unauthorized resource outcome.

Platform / version applicability
Security architecture and operations
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformSecurity architecture and operations · IOS/IOS XE
Scope / prerequisiteUse it when administrators cannot log on to devices, land at the wrong privilege level, or before changing AAA on a dev…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

access request → authentication → principal/session → authorization decision → enforcement/resource outcome → accounting and correlation

Healthy evidence: allowed and denied tests produce expected identity, authorization and accounting records, fallback behavior matches policy and the resource outcome correlates to the decision.

Step 2 Operational verification Verify boundary

Authentication, authorization and accounting flows, policy decisions and operational verification.

Fast verification

  • Verify reachability/source IP, shared secret and server policy before testing fallback behavior.

- Separate authentication, authorization and accounting; each can succeed/fail independently.

- Inspect device and AAA-server logs for the same request rather than assuming a network timeout.

Step 3 Verification & troubleshooting Narrow the fault

Path: Security → Security Fundamentals → AAA. Local intent: AAA separates Authentication, Authorization and Accounting so identity evidence, permission decisions and activity evidence can be designed, tested and failed independently.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points

The next method in a list is tried only when the server gives no answer — a reject is final. Keep a tested local account as fallback, a second session open while changing AAA, and consider reload in 10. Authentication and authorization are configured separately.

Key checks
  • show aaa servers (Cisco) — AAA server status
  • test aaa group tacacs+ <user> <pw> new-code — test authentication
  • Get-WinEvent -LogName Security -MaxEvents 20 — Windows authentication/audit events
ReferenceWhat it is1 section · depth on demand

Mental model

AAA stands for authentication, authorization and accounting: who are you, what may you do, and what did you do. On network equipment it is the framework that sends those three questions to a central server — over RADIUS or TACACS+ — so accounts and permissions are not maintained on every device.

ReferenceWhy it matters2 sections · depth on demand

When to use it

Use this Topic when the problem is in AAA. Use Identity & Authentication when the problem concerns identity, authentication, certificates, access control, hardening, secure transport or security evidence.

Why it matters operationally

With AAA, an administrator logs on to every switch and router with their own account, their rights are set centrally, and each command can be logged. Its risk is equally concrete: a mistake in the configuration, or an unreachable server without a working fallback, locks everyone out of the device.

ReferenceHow it works1 section · depth on demand

How it works

The three functions are separate.

FunctionDecidesTypical failure
AuthenticationWhether the user is who they claimLogon rejected
AuthorizationWhat the user may do: privilege level, permitted commands, VLANLogged on, but with too few rights
AccountingRecords sessions and commandsNo trail of who did what

A user can pass authentication and still fail authorization; the two are configured, and debugged, separately.

Method lists. On Cisco IOS, AAA is enabled with aaa new-model, and each function gets a list of methods tried in order:

aaa new-model
aaa authentication login default group tacacs+ local
aaa authorization exec default group tacacs+ local
aaa accounting exec default start-stop group tacacs+

Here logons are checked against the TACACS+ servers first and the local user database second.

When the next method is used. Only when the previous one gives no answer — the server is unreachable. If the server answers "reject", that is final; the local account is not tried. The local fallback is therefore for outages only, and it must exist: a local user with a known password, tested.

Lists and lines. The list named default applies to every line. A named list applies only where it is attached — for example a console line that uses local authentication only, so the console stays usable whatever happens to the servers.

Protocols. RADIUS is usual for network access (802.1X, VPN, wireless); TACACS+ for device administration, because it can authorize individual commands.

Looking at it.

show aaa servers
show aaa sessions
test aaa group tacacs+ <user> <password> legacy
debug aaa authentication

show aaa servers shows each server as up or dead with request counters; test aaa checks a server without logging out.

Changing it safely. Keep a second session open while changing AAA, and test a new logon before closing it. A scheduled reload in 10, cancelled once the new logon works, is a common safety net.

ReferenceImportant terms & boundaries1 section · depth on demand

What this shows and what it does not

Success at one AAA stage shows only that stage for the tested request, but it does not show later enforcement, resource outcome, complete accounting or secure failure behavior.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docSecurity architecture and operations current

Authoritative/upstream documentation reviewed for bounded claims in Security Fundamentals → AAA. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://csrc.nist.gov/pubs/sp/800/53/r5/upd1/final · confidence 94%
Technical changelog & impact

What changed and what may be affected

Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
authentication authorization accountingAAA securityAAA model
Embedded reference data

Quick lookup tables

Security Fundamentals → AAA proof map

Fast scope, effective-state, outcome and acceptance evidence boundaries for Security Fundamentals → AAA.

Evidence boundaryWhat to establishWhat it does not establish
Scope and contextAsset, owner, subject, action, data flow, time and expected security outcomeDoes not prove the inventory, threat model or business assumptions are complete
Design and effective stateIntended policy/control plus the identity, configuration, coverage and dependencies actually in forceConfiguration presence does not prove consistent enforcement or operating effectiveness
Outcome evidenceAllowed, denied, failure and recovery tests correlated with telemetryOne successful test does not prove every path, time or attacker condition
AcceptanceGap, residual risk, owner, review trigger and retest result are recordedAcceptance does not remove the risk or make it permanent
Confirmation

Confirm action

Continue?