Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Verification · AAA

Direct answer

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

When to use this

Use it after configuring or changing AAA, and when administrators cannot log in.

First 30 seconds

1. test aaa group <group> <user> <password> new-code — accepted.

2. show aaa servers — counters for requests and responses.

3. Log in through SSH as that user; show privilege.

4. Server unreachable → local account accepted?

5. Accounting: records arrive on the server.

Operational verification

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

Evidence · next step

Verify method-list selection and authorization/accounting result for the actual service.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Cisco IOS / IOS XE
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.

PlatformCisco IOS / IOS XE · IOS/IOS XE
Key commandtest aaa group <group> <username> <password> legacy
Scope / prerequisiteUse it after configuring or changing AAA, and when administrators cannot log in.
Show · 2Reference · 1
What next?3 suggested next steps
Catalog command links3
Evidence1
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

Operational workflow

Verification & Troubleshooting

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

5 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 First 30 seconds Verify boundary

Immediate answer: Verify method-list selection, server reachability, authentication result, authorization and accounting for the exact access service.

Verification chain: access service → method list → server selection/transport → authentication → authorization → accounting → usable session

Stop condition: AAA server reachability or successful authentication does not show authorization, accounting or the intended method list was used.

Step 2 Known-good, broken and proof-boundary verification Verify boundary

Known-good AAA means the intended method list is bound to the access path, the expected server group is contacted from the correct source, authentication succeeds for a controlled account, required authorization works and accounting is produced when configured. Broken state can be fallback-only success, timeout, reject or phase-specific authorization failure. Server reachability alone does not show AAA success, and login success does not show authorization/accounting; those are explicit limits of what the checks show.

Step 3 Verification and output interpretation Verify boundary

Capture the method list, selected server, transaction result and server-side log. Then verify post-login privilege/command authorization and confirm accounting records where configured. Compare timestamps and source device identity. If local fallback appears, determine whether it followed an operational server error or was selected by policy. The final evidence set should answer identity accepted? privileges correct? actions recorded? independently. Verify each AAA layer separately.

Step 4 Verification & troubleshooting Narrow the fault

2. Verify shared secret, ports and group membership.

3. Verify line/service method list.

5. Show fallback safely.

Step 5 Failure isolation: observation → implication → next check Narrow the fault

If login fails immediately, confirm the correct line/console/VTY method list and local fallback before blaming the server. If requests time out, inspect source IP/VRF, route, ACL/firewall and server availability. If the server replies reject, compare user policy, shared secret/key and requested service. If authentication succeeds but commands are denied, move to authorization; if accounting is missing, inspect that phase independently. Preserve one test user and timestamp for server-log correlation.

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.

other · 1
Command lookup Jump straight to Cisco syntax
Key points

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.

Key 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).
ReferenceHow it works1 section · depth on demand

Mechanics, state owner and dependency boundary

AAA verification separates method-list selection, server reachability, authentication/authorization/accounting exchange and local fallback behavior. A reachable RADIUS/TACACS+ server does not show the device is using the intended method list, and successful authentication does not show command authorization or accounting. Source interface/VRF, shared-secret or key state, server-group order and timeout/deadtime handling are distinct dependencies.

ReferenceImportant terms & boundaries4 sections · depth on demand

In depth

Verifying AAA without locking yourself out

AAA changes affect how you log in. Verify from a second session while the first one stays open.

C9300# show aaa method-lists all
C9300# show aaa servers
RADIUS: id 1, priority 1, host 10.10.50.31, auth-port 1812, acct-port 1813
     State: current UP, duration 812331s, previous duration 0s
     Dead: total time 0s, count 0
C9300# show tacacs
C9300# test aaa group ISE alice <password> new-code
Sending password
User successfully authenticated
USER ATTRIBUTES
username             0   "alice"
priv-lvl             0   15
C9300# show aaa sessions
C9300# debug aaa authentication      ! briefly
C9300# debug tacacs                  ! briefly

The Catalyst 9300 TACACS+ guide documents show tacacs for server statistics, and notes that the default method list applies to all lines unless a named list overrides it.

Verification checklist

CheckWhat it confirms
show aaa method-lists allWhich lists exist and their method order
show running-config \| section lineWhich list each line uses
test aaa group <grp> <user> <pw> new-codeThe server accepts the user and returns attributes (for example priv-lvl 15)
show tacacs / show aaa serversServer reachable; packets sent and received; no dead state
Login from a new SSH sessionReal end-to-end result
Command authorization testA command a restricted user must not run is denied
Accounting record on the serverRecords arrive

Failure patterns

SymptomLikely cause
% Authorization failed right after loginExec authorization denied; missing shell profile
Login takes 10–20 s before falling backServer timeouts; reduce timeout or fix reachability
Works on VTY, not on consoleConsole uses a different list, or aaa authorization console
Server sees requests from an unexpected IPSource interface not set

Safe change procedure

1. Keep a console session or a second SSH session open.

2. Configure servers and groups, then test aaa.

3. Apply method lists to VTY lines first, and test.

4. Apply to the console last, with local fallback.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Method

AAA verification confirms servers are reachable and logins follow the intended method lists.

1. show aaa servers — server state and response statistics.

2. test aaa group TACACS user1 <password> new-code — authenticate without logging in.

3. Log in from a second session while keeping the first one open.

4. Check the server's live logs for the request and result.

5. Check privilege level and command authorisation (show privilege).

SymptomLikely cause
Server DEADReachability, source interface, key mismatch
Rejected despite correct passwordServer policy, wrong user group
Logged in at wrong privilegeMissing exec authorisation attributes
Local login used unexpectedlyServer unreachable
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

State model and technical mechanics

A useful AAA verification model starts with the configured method lists and selected server groups, then checks the actual runtime transaction. Authentication, EXEC/command authorization and accounting should be observed as distinct request types. The device can have multiple access paths—console, VTY/SSH and possibly API/HTTP—whose AAA bindings differ. Verification therefore needs the exact access method and username/session context rather than only a generic 'AAA works' statement.

Limits and common misconceptions

One successful test session is not universal evidence: another VTY range, source VRF, username group or command set can follow a different policy. Likewise, a failed login does not identify whether transport, authentication policy or authorization caused the failure. Verification should preserve exact context and separate the layers so ChatGPT can reason about a real error from the captured evidence.

ReferenceConfiguration & state1 section · depth on demand

Design and configuration model

Maintain a known safe test identity and a documented recovery method. When validating a change, use a second session so the existing administrative session remains available. Test expected allow and expected deny behavior, not only a positive login. Avoid production verification that depends on intentionally disabling all AAA servers; method/fallback state can be confirmed from server health and controlled testing without manufacturing a management outage.

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 docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

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

Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · 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.
Embedded reference data

Quick lookup tables

Verification · technical reference

Compact network access/security mechanics, policy and evidence boundaries for fast lookup.

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

Confirm action

Continue?