Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Local AAA

Direct answer

Local AAA authenticates users against accounts stored on the device itself (username <name> privilege <level> secret <password>), with aaa authentication login default local.

When to use this

Use it on small networks, and always as the fallback method when a central server is unavailable.

First 30 seconds

1. show running-config | include username — accounts with secret, intended privilege.

2. show running-config | section aaa — local in the login method list?

3. Lines use that list (default or named)?

4. Test login from a second session.

5. show privilege after login — expected level.

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

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 commandaaa new-model
Scope / prerequisiteUse it on small networks, and always as the fallback method when a central server is unavailable.
Show · 1Reference · 4
What next?3 suggested next steps
Catalog command links5
Evidence0
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.

4 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 Local AAA: isolated recovery and least-privilege test Verify boundary

Keep an independently tested console/recovery path and a known-good session. On an isolated lab service with a deliberately named local login list, establish a new session for a valid restricted user, inspect the resulting privilege and test one permitted and one denied command. Test one invalid login within the lockout budget and correlate the rejection.

Save exact prior account, line/list and authorization settings before editing. Restore the scoped test configuration and verify a fresh normal login before closing recovery sessions. Do not globally replace default AAA or use no aaa new-model as a generic rollback. Losing a session is not evidence a remote service is unavailable, and a keyword local is not evidence a recovery path works.

The procedure is authored expected behavior; no account, credential, device configuration or verification timestamp was changed.

Step 2 Verification and output interpretation Verify boundary

Verify which AAA method list and local user database are actually selected for the access path. Test that the local recovery identity works only under the intended conditions and has the intended privilege. When remote AAA is healthy, confirm that ordinary logins are not silently using local fallback. Configuration presence of a username is not evidence that a VTY/console method list references local AAA or that the account has the expected authorization. Verify each AAA layer separately.

Step 3 Local AAA: wrong list, rejected account or denied action Narrow the fault

If a supposedly local login contacts a remote server, inspect the actual bound list/service rather than assuming a local account wins. If the local login is rejected, inspect username/credential, supported lockout state and effective local policy through the independent recovery path. Avoid repeated guesses that can trigger lockout.

A successful login does not establish EXEC or command authorization. Compare the selected authorization method and resulting privilege for the exact action. Conversely, a restricted command should not be “fixed” by granting administrator privilege without reviewing intent.

Local account data is not a centralized accounting collector. Identify the actual configured logging/accounting path if audit records are required. Distinguish a deliberately local-only service from remote-first with local recovery; the latter still follows its documented error-versus-reject semantics.

Step 4 Local AAA observation sequence Narrow the fault

Record the failing service and preserve console access. Inspect the applicable local account and bound list without exposing secrets. Compare a new authorized session’s users/privilege state with the intended command permissions. Use the separate isolated success/reject/recovery procedure; restore exact prior settings rather than resetting AAA globally.

Command lookup Jump straight to Cisco syntax
Key points

Use secret (hashed, type 8/9 when supported), not password. Without aaa new-model, login local under the line does the same job. Privilege 15 gives full access at login.

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).
ReferenceWhat it is1 section · depth on demand

What Local AAA owns

Local AAA uses the device’s local identity database for the selected administrative service. Authentication, effective EXEC/command permission and any configured audit path are separate observations. A local username alone does not show the line/service uses it.

ReferenceWhy it matters1 section · depth on demand

When to use Local AAA guidance

Use this Topic for an intentionally local administrative login or a specifically reviewed local recovery method. Use RADIUS/TACACS references for remote exchange and server-group failures; do not make remote reachability a prerequisite of a local-only service.

ReferenceHow it works1 section · depth on demand

Local AAA: local database and actual service binding

Scope: IOS / IOS XE administrative local authentication, with AAA already configured as intended. aaa authentication login default local changes login policy; it is not a read command. A default-list edit can affect more than the one session being investigated.

Inspect relevant running configuration for local account presence/attributes, named/default method lists, VTY/console/service binding and separate authorization rules. Redact password hashes, secrets and personal identifiers before sharing. Read show users and show privilege in an authorized session to establish the session actually obtained, not merely a configured username.

Unlike a RADIUS/TACACS exchange, a local-only login does not require a remote server group, shared secret or remote AAA port. Do not introduce those prerequisites into its first checks. Reference: Cisco login authentication.

ReferenceImportant terms & boundaries5 sections · depth on demand

Local AAA operational boundaries

Inspect exact account, line/service binding, authentication list and independent authorization policy. Keep least privilege and console recovery. Distinguish local-only login from remote-first fallback. A local account does not automatically supply centralized accounting or unrestricted command access.

In depth

Local AAA: the device's own user database

With aaa new-model enabled, local in a method list uses the usernames configured on the device. The Catalyst 9300 TACACS+ guide shows local as a fallback after TACACS+ in login method lists. Local AAA is also the only option on devices without central AAA servers.

C9300(config)# aaa new-model
C9300(config)# username admin privilege 15 algorithm-type scrypt secret <password>
C9300(config)# username noc privilege 1 algorithm-type scrypt secret <password>
C9300(config)# aaa authentication login default local
C9300(config)# aaa authorization exec default local
C9300(config)# login block-for 120 attempts 5 within 60
C9300# show running-config | include ^username
username admin privilege 15 secret 9 $9$...
C9300# show login

Password storage types

TypeCommandStrength
9 (scrypt)algorithm-type scrypt secretRecommended
8 (PBKDF2-SHA-256)algorithm-type sha256 secretGood
5 (MD5)secret on older releasesWeak; replace
7password with service password-encryptionReversible obfuscation only

Roles of local accounts

UseConfiguration
Break-glass access when AAA servers are downOne privileged account, used only in emergencies, password in a vault
Small sites without AAA serversNamed accounts per person, not shared
Console accessA console method list with local first

Protecting local logins

FeatureCommand
Brute-force throttlinglogin block-for <s> attempts <n> within <s>
Logging of failureslogin on-failure log, login on-success log
Restrict sourcesaccess-class on VTY lines

Audit local accounts regularly. Former staff accounts and shared passwords are common findings.

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.

Quick reference

Local AAA uses the device's own username database for authentication and authorisation. It is simple and needed as a fallback, but does not scale and offers no central audit.

username admin privilege 15 algorithm-type scrypt secret <password>
aaa new-model
aaa authentication login default local

Documented example, not captured output.

Keep one strong local account for emergencies, stored in a password manager, and use central AAA for daily logins.

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

With local AAA, username/secret data and relevant privilege attributes live on the device rather than on TACACS+/RADIUS infrastructure. This removes remote-server transport as a dependency but also decentralizes lifecycle, revocation and audit. Local authentication can participate in the same AAA method-list framework as remote methods, allowing it to be used as an explicit primary method or a fallback when a remote service is unavailable. The security effect depends heavily on the configured fallback order and local account privilege.

Limits and common misconceptions

Local AAA reduces external dependencies but weakens central control if used broadly. A working local login can mask a failed centralized service and produce incomplete organization-wide accounting. Conversely, removing every local account can create an unrecoverable lockout during AAA/network failure. Treat local AAA as an explicit availability/security design choice with protected credentials and documented scope, not as an accidental side effect of fallback syntax.

ReferenceConfiguration & state1 section · depth on demand

Design and configuration model

Use strong secret storage supported by the platform, create only necessary local administrative identities and define a clear owner/recovery process. In centrally managed environments, reserve local credentials for break-glass/recovery rather than maintaining broad parallel user populations. Protect console/physical access and configuration backups because local credential material resides on the device. Test recovery before an outage, but keep routine access on the centralized method if that is the intended policy.

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 → Local AAA. 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%
Embedded reference data

Quick lookup tables

Local AAA · technical reference

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

PropertyLocal AAA implication
DependencyNo remote AAA transport required
LifecyclePer-device account management
Common roleBreak-glass / fallback
RiskDrift and reduced central audit if overused
Confirmation

Confirm action

Continue?