Skip to content
CCNA 200-301 v1.1 reference — Security Fundamentals

Device access control and password policy

Local passwords and line-level access control, password policy elements, and alternatives such as MFA, certificates and biometrics.

Objective 5.3Objective 5.4v1.1 exam target

Local access control

Local access control

Passwords on console, vty and privileged mode — Privileged EXEC → Line + global configuration

Cisco IOS / IOS XE

configure terminal
enable secret <placeholder-enable-secret>
username admin secret <placeholder-user-secret>
line console 0
 login local
 exit
line vty 0 15
 login local
 transport input ssh
 end
Verify
show running-config | section line
show privilege
  • Each line needs a deliberate login method — unset behavior varies by platform (default vty often rejects a login with no password configured; a console with no login line is unguarded).
  • Use secret for irreversible hashing — many modern platforms default to scrypt type 9, but verify the stored type rather than assume.
  • enable password and password use weak reversible storage — prefer secret always.
  • service password-encryption only obscures type-7 passwords — it is not real protection.

Changes device configuration.

Access lines and their controls

LineReachesProtect with
Console 0Physical serial/USB portlogin + user, physical security
vty 0 15Remote SSH/Telnet sessionslogin + user/AAA, transport input ssh, access-class
AuxModem/auxiliary portOften disabled; secure if present
Privileged EXECenable modeenable secret

Password policy and alternatives

Password policy is more than complexity: management (rotation, storage, sharing rules), complexity requirements, and alternatives — MFA (something you have/are, in addition to know), certificates (device/user identity without reusable passwords), and biometrics. The blueprint asks for the elements, not a specific product.

Authentication factors and alternatives

MechanismFactor typeNotes
Password/PINSomething you knowWeakest alone — reusable and phishable
Token/app OTP, hardware keySomething you haveClassic second factor in MFA
BiometricsSomething you areFingerprint/face — convenience + assurance
CertificateSomething you have (key)Strong device/user identity; no password to reuse

Layered defense and verification

Layer the controls for remote admin
Requirement
Admins manage 50 switches from a NOC
  1. SSH-only vty + access-class to the NOC subnet — the transport layer.
  2. AAA (TACACS+) instead of per-device local users — centralized auth + per-command authorization.
  3. MFA at the AAA layer — the password alone is never sufficient.
  4. enable secret as the last line — even authenticated sessions need privilege elevation control.

Each layer assumes the previous one can fail.

Common mistakes

  • Leaving login unset on a line — behavior differs by line and platform: a console may offer unguarded access while a vty may refuse logins without a password; configure deliberately.
  • Using password (type 7) believing it's hashed — it's trivially reversible.
  • Treating service password-encryption as security — it's obfuscation only.
  • Forgetting the console line — physical access deserves the same login discipline.
  • Confusing authentication (who you are) with authorization (what you may do) — they're separate AAA functions.
Locked out after changing vty config

Observation: After adding login local, no one can log in remotely.

Hypotheses
  • No local username exists for login local to check
  • AAA pointed at a dead server with no local fallback
  • access-class ACL now rejects the admin subnet
CheckIndicates
Console in and show running-config | include usernameConsole access survives vty mistakes — verify a user exists.
show running-config | section vtyConfirm login method and transport/ACL combination.

Correction: Add the local user, or add a local fallback to the global method list (aaa authentication login default group tacacs+ local); a dead server returns ERROR and falls through, an explicit REJECT does not.

SSH login succeeds and unauthorized sources are refused.

On this page

Related resources

Sources

Targets CCNA 200-301 v1.1 objectives. Supplemental blocks are labeled beyond exam scope.

Search guided lessons, transcript chapters, flashcards, CLI drills and cheat sheets

Device access control and password policy | CCNA Study