Use it when administrators cannot log in, or when moving logins to a central server.
AAA Authentication
login → method list → AAA server → accept/reject
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show aaa serversShow Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification and output interpretation Verify boundary
Test a known valid identity and a known invalid identity and observe which method/server handled each request. Correlate device AAA status with the server log so success, reject and timeout are distinguishable. If local fallback succeeds, record whether the remote method was unavailable or explicitly rejected the user. Verify resulting EXEC privilege separately because authentication success alone says nothing about command authorization. Verify each AAA layer separately. First show transport to the intended server from the device's actual source context, then show server health/selection, then test authentication, authorization and accounting as distinct outcomes. Correlate device-side counters/session records with server-side logs using timestamp, username and source device identity. A successful login is only authentication evidence unless command or EXEC authorization is also observed, and a sent accounting record is not the same as confirmed receipt and durable storage on the AAA server.
Step 2 Verification & troubleshooting Narrow the fault
2. Verify shared secret, ports and group membership.
3. Verify line/service method list.
5. Show fallback safely.
- 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.
show aaa servers— server statetest aaa group tacacs+ <user> <pass> new-code— testshow running-config | include aaa authentication— method lists
ReferenceWhy it matters1 section · depth on demand
When to use it
Use centralized AAA for consistent administrative access and accounting while retaining a tested recovery path.
ReferenceImportant terms & boundaries4 sections · depth on demand
In depth
Authentication proves who the user is
On Cisco IOS XE, AAA must be enabled with aaa new-model before any authentication method list is used. The Catalyst 9300 TACACS+ guide describes login authentication with method lists, for example TACACS+ with local fallback, applied to lines. It points out that the next method is tried only on an error (no response), not when the server denies the login.
C9300(config)# aaa new-model
C9300(config)# username breakglass privilege 15 secret 9 $9$...
C9300(config)# tacacs server ISE-1
C9300(config-server-tacacs)# address ipv4 10.10.50.31
C9300(config-server-tacacs)# key 7 <key>
C9300(config)# aaa group server tacacs+ ISE
C9300(config-sg-tacacs+)# server name ISE-1
C9300(config)# aaa authentication login default group ISE local
C9300(config)# aaa authentication login CONSOLE local
C9300(config)# line con 0
C9300(config-line)# login authentication CONSOLE
C9300# show aaa method-lists authentication
C9300# test aaa group ISE alice <password> new-code
Method lists
| Element | Meaning |
|---|---|
default list | Applies to all lines unless a named list is applied (the guide notes this) |
| Named list | Applied per line with login authentication <name> |
| Order of methods | Tried left to right, but only after an error from the previous method |
local | Local username database, used as fallback |
Fallback behaviour
| Server response | Result |
|---|---|
| Accept | Logged in |
| Reject (wrong password) | Login fails; local is not tried |
| No response (server down, wrong key in some cases) | Next method (local) is tried |
Practice
- Keep one local break-glass account with a strong
secret(type 9 or 8) and store it in a vault. - Use a separate list for the console with
localfirst, so console access works during AAA outages. - Test with
test aaabefore closing the session that made the change.
Documented example, not captured output.
Quick reference
AAA authentication verifies the identity of administrators logging in to devices, using method lists that try sources in order — usually a TACACS+ or RADIUS group first, then the local user database as fallback if the servers are unreachable.
aaa new-model
aaa authentication login VTY group TACACS local
aaa authentication enable default group TACACS enable
line vty 0 15
login authentication VTY
Documented example, not captured output.
The local fallback is used only when servers do not respond; a server rejecting the password does not fall through to local.
State model and technical mechanics
Authentication is the first AAA decision: credentials are presented to a configured method list and each method returns success, explicit failure/reject or an operational error/unavailability condition. Those outcomes matter because fallback generally exists to survive method unavailability, not to bypass an explicit policy rejection. Authentication can apply to login, enable or other service contexts depending on configuration. The identity result is then passed to later authorization/accounting logic; it does not itself define permitted commands. AAA must be read as an ordered control chain rather than one monolithic login result. Authentication establishes an identity, authorization decides what that identity may do, and accounting records selected activity. A method list can contain local and remote methods in order; a server timeout/error is operationally different from an explicit reject, and that difference affects whether a later fallback method is attempted. Transport reachability, source interface/VRF, shared secrets and clock consistency are prerequisites for remote AAA but are not themselves evidence that policy is correct.
Limits and common misconceptions
Authentication does not equal authorization and does not show accounting occurred. A server that is reachable can still reject a valid-looking username because its policy, group membership or credential source says no. A local fallback success can mask loss of the centralized service. Treat identity result, method availability, server policy and post-login privilege as separate facts. Do not collapse all access-control failures into 'AAA is down'. A user can authenticate and then fail authorization; accounting can fail while login and command execution continue; a reachable TACACS+/RADIUS server can reject a request because policy is working as designed. Conversely, local fallback can make access succeed while remote AAA is unavailable.
ReferenceConfiguration & state1 section · depth on demand
Design and configuration model
Define authentication method lists by access path and risk. Remote TACACS+/RADIUS is commonly preferred for centralized administration, with a protected local fallback for recovery. Keep the server group, source interface/VRF and shared-secret configuration consistent, and test from a second session before closing the current one. Avoid fallback designs that silently turn a policy reject into local success, because that changes the security meaning of the method order. Treat AAA changes as management-plane changes with a lockout boundary. Define method lists deliberately, keep a tested recovery path, use named server groups where practical, and make source-interface/VRF behavior deterministic so return traffic reaches the device. Remote AAA should be paired with least-privilege authorization and clear accounting policy rather than enabled as an undifferentiated replacement for local login. Preserve a local recovery credential that is protected appropriately, and stage changes so the current management session is not the only path back to the device.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Security → AAA → Authentication. 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%Quick lookup tables
Authentication · technical reference
Compact network access/security mechanics, policy and evidence boundaries for fast lookup.
| Result | Meaning |
|---|---|
| Success | Identity accepted by selected method |
| Reject/fail | Method evaluated identity and denied it |
| Error/timeout | Method unavailable; fallback policy may apply |
| Next layer | Authorization / accounting |