Pcornel
H3 · Practical network exams · Cisco IOS / IOS XE

AAA · Finals

Configuration first, verification second, theory third. Reference templates require task-specific adaptation.

Content version 1.1-draft

Keyboard shortcuts

/ Finals search · Ctrl K global command palette · Alt E Exam Mode · Alt G Golden Scripts · Alt T Exam Topics · Alt V Verify · Esc close dialog.

Skills Exam · Supporting reference, not an additional exam objective

Quick explanation

AAA separates authentication (identity), authorization (permissions) and accounting (recording activity). A method list selects authentication methods in order.

Configuration

Replace highlighted placeholders. Configure only the variants required by the task.

Prerequisites and dependency links
  • Keep a working console or other recovery session.
  • Create a local fallback account before enabling AAA.
AAA local default login Recommended / essential starting point
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
! Secret hash depends on the IOS/IOS XE release and platform.
! Prefer type 9 (scrypt) or type 8 (PBKDF2-SHA-256) where supported; type 5 (MD5) is legacy.
! See Password Hashing for algorithm-type examples; secret 8/9 requires an encoded hash.
username [USERNAME] privilege 15 secret [PASSWORD]
aaa new-model
aaa authentication login default local
end
Command parameters
[USERNAME]
Local user account name.
[PASSWORD]
New local or line password; never include a real password in shared material.
Explicit local console list Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
aaa new-model
aaa authentication login [CONSOLE-LIST] local
line console 0
 login authentication [CONSOLE-LIST]
 exit
end
Command parameters
[CONSOLE-LIST]
Named AAA method list for console login.
Named VTY login list Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
aaa new-model
aaa authentication login [LOGIN-LIST] local
line vty 0 [VTY-LAST]
 login authentication [LOGIN-LIST]
 exit
end
Command parameters
[LOGIN-LIST]
AAA authentication method-list name.
[VTY-LAST]
Last VTY line number supported by the device; configure remaining lines as needed.
RADIUS with local fallback Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode. Section link
  • Create the RADIUS group first. Local fallback normally occurs if the server is unavailable, not when it rejects credentials.
enable
configure terminal
aaa new-model
aaa authentication login [LOGIN-LIST] group [RADIUS-GROUP] local
line vty 0 [VTY-LAST]
 login authentication [LOGIN-LIST]
 exit
end
Command parameters
[LOGIN-LIST]
AAA authentication method-list name.
[RADIUS-GROUP]
Named AAA RADIUS server group.
[VTY-LAST]
Last VTY line number supported by the device; configure remaining lines as needed.
Optional local EXEC authorization Optional when requested
Start in privileged EXEC; block enters and exits configuration mode. Section link
enable
configure terminal
aaa authorization exec [EXEC-LIST] local
line vty 0 [VTY-LAST]
 authorization exec [EXEC-LIST]
 exit
end
Command parameters
[EXEC-LIST]
AAA EXEC authorization list name.
[VTY-LAST]
Last VTY line number supported by the device; configure remaining lines as needed.

Show / Verify

Primary verification Section link
show running-config | section ^aaa
Example output
aaa new-model
aaa authentication login VTY local

Inspect enabled AAA and method-list order.

Detailed verification Section link
show running-config | section ^line
Example output
line vty 0 4
 login authentication VTY

Verify the correct list is bound to the required lines.

Detailed verification Section link
show users
Example output
*  2 vty 0  exam-user

A separate successful login demonstrates actual authentication; do not close the recovery session until verified.

Connectivity verification

Remote SSH login

Run from a separate test Cisco device or use a client PC; confirm authentication and privilege without closing the existing recovery session.

ssh -l [USERNAME] [DESTINATION-IP]

Common mistakes

  • Enabling AAA without a fallback account.
  • Wrong named list on VTY.
  • Assuming fallback on an explicit RADIUS rejection.
  • Closing the only working administration session.

Configuration comparison

Local vs RADIUS authentication — Local uses device accounts; RADIUS uses centralized credentials. Fallback is normally for unavailable servers, not rejected credentials.

Remove configuration — separate, potentially disruptive actions

Remove named VTY login binding

Falls back to applicable default authentication policy; test recovery access first.

enable
configure terminal
line vty 0 [VTY-LAST]
 no login authentication [LOGIN-LIST]
 exit
end

Related reference

Networking technical reference · Interface types · Connectivity verification
Documentation references consulted

Reset checklist?

Command block

Back to Top

Confirmation

Confirm action

Continue?