H3 · Practical network exams · Cisco IOS / IOS XE
Local User Authentication · Finals
Configuration first, verification second, theory third. Reference templates require task-specific adaptation.
Content version 1.1-draft
Skills Exam
Quick explanation
Local authentication verifies logins using accounts stored on the device. A username secret is preferable to a shared line password.
Configuration
Replace highlighted placeholders. Configure only the variants required by the task.
Prerequisites and dependency links
- Create a local administrator account before requiring login local.
- Keep console access while testing a second session.
Local user with secret Recommended / essential starting point
Start in privileged EXEC; block enters and exits configuration mode.
Section link
enable
configure terminal
username [USERNAME] privilege [PRIVILEGE] secret [PASSWORD]
end
Command parameters
[USERNAME]- Local user account name.
[PRIVILEGE]- Cisco privilege level, normally 0 to 15.
[PASSWORD]- New local or line password; never include a real password in shared material.
Console local authentication Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode.
Section link
enable
configure terminal
username [USERNAME] privilege 15 secret [PASSWORD]
line console 0
login local
exit
end
Command parameters
[USERNAME]- Local user account name.
[PASSWORD]- New local or line password; never include a real password in shared material.
VTY local authentication Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode.
Section link
enable
configure terminal
username [USERNAME] privilege 15 secret [PASSWORD]
line vty 0 [VTY-LAST]
login local
exit
end
Command parameters
[USERNAME]- Local user account name.
[PASSWORD]- New local or line password; never include a real password in shared material.
[VTY-LAST]- Last VTY line number supported by the device; configure remaining lines as needed.
Show / Verify
show running-config | include ^username
Example output
username exam-user privilege 15 secret 9 [REDACTED]
Confirm account exists and storage type; do not disclose the secret.
show running-config | section ^line
Example output
Confirm authentication binding.
Example output
Current privilege level is 15
Verify expected privilege from a successful session.
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]
Remote Telnet login
Use only where the exam requests Telnet. Test from another device, then keep a secure recovery path available.
telnet [DESTINATION-IP]
Common mistakes
- No local account before login local.
- Incorrect privilege.
- Closing recovery session before testing.
Remove configuration — separate, potentially disruptive actions
Remove user
May remove administration access; confirm another working account first.
enable
configure terminal
no username [USERNAME]
end