Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Password Policy

Direct answer

A password policy sets the rules for credentials: minimum length, complexity, how often and when they change, how they are stored, and when a second factor is required. On network devices it covers local accounts, enable secrets and service keys.

When to use this

Use it when defining standards for device and user credentials, or auditing devices for weak or clear-text passwords.

First 30 seconds

1. show running-config | include username|enable — any type 0, 5 or 7?

2. Replace with username <u> algorithm-type scrypt secret <pw> and enable algorithm-type scrypt secret <pw>.

3. security passwords min-length <n> set?

4. login block-for <s> attempts <n> within <s> against guessing.

5. Admin logins through AAA with MFA where possible.

Operational verification

policy defined → long unique secrets → stored as strong hashes → login attempts limited → MFA for privileged access → credentials changed when compromised

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
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.

PlatformProtocol standard
Scope / prerequisiteUse it when defining standards for device and user credentials, or auditing devices for weak or clear-text passwords.
What next?2 suggested next steps
Child topics (this level)7
Evidence1
On this pageJump to a specific section
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Command lookup Jump straight to Cisco syntax
Drill down

Subtopics

Go one level deeper into this subject.

Subtopic Complexity

Password complexity rules require a mix of character types; current guidance (for example NIST SP 800-63B) values length and blocking known-breached passwords more than forced complexity.

Subtopic Length

Password length is the strongest single password control: longer passphrases (at least 12–15 characters, more for administrators) resist guessing and cracking far better than short complex ones.

Subtopic Password Rotation

Password rotation forces periodic changes; current guidance recommends changing passwords on evidence of compromise rather than on a fixed schedule, because forced rotation leads to weaker, predictable passwords.

Subtopic Secure storage

Secure storage means passwords are kept only as salted, slow hashes (on IOS type 8 PBKDF2 or type 9 scrypt, never type 7 or plain text) and secrets are managed in a vault, not in scripts or shared files.

Subtopic MFA for Network Device Administration

Multi-factor authentication for administrators of routers, switches, firewalls and wireless controllers: where the second factor is enforced (AAA server with TACACS+/RADIUS, VPN, jump host), Cisco IOS/IOS XE AAA configuration, timeouts, SSH behaviour, break-glass access and verification.

Subtopic Certificate-Based Login

Certificate-based authentication replaces or supplements passwords with a private key and an X.509 certificate issued by a trusted CA, for example for 802.1X EAP-TLS, VPN or SSH.

Subtopic Biometrics (CCNA)

Biometrics authenticate users by fingerprint, face or other physical traits, usually as one factor in multi-factor authentication or to unlock a stored credential such as a passkey.

Key points

Current guidance (NIST SP 800-63B) favours long passphrases, checks against breached-password lists and MFA over forced periodic changes and complex character rules. On Cisco IOS: enable secret and username ... secret with type 8 or 9 hashes, security passwords min-length, service password-encryption only hides type 7 (reversible).

Key checks
  • show running-config | include username|enable — hash types used (9 or 8 good, 5 weak, 7 reversible, 0 clear text).
  • show running-config | include security passwords|login block — minimum length and login blocking.
  • show running-config | include password — clear-text or type 7 passwords left on lines and keys.
  • show login — login failure blocking settings and state.
ReferenceWhat it is1 section · depth on demand

Device password policy (Cisco IOS XE)

security passwords min-length 14
enable algorithm-type scrypt secret <secret>
username admin privilege 15 algorithm-type scrypt secret <password>
aaa new-model
aaa local authentication attempts max-fail 5
login block-for 120 attempts 5 within 60
service password-encryption        ! only obscures type 7; not real protection

Documented example, not captured output. Prefer central AAA (TACACS+/RADIUS) with MFA for admins and keep one local break-glass account.

ReferenceWhy it matters1 section · depth on demand

What it is

A password policy sets how passwords are created, stored and changed: minimum length, blocklists of breached passwords, MFA requirements, lockout and storage format. For network devices it also covers enable secrets, local fallback accounts and how shared credentials are rotated when staff leave.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Password policy

A password policy sets how passwords are chosen, stored and replaced. NIST SP 800-63B's current guidance is the reference point: at least 15 characters for passwords used alone (8 within MFA), no composition rules, checking against blocklists of compromised and common passwords, no periodic forced changes (only on evidence of compromise), allowing password managers and paste, salted and hashed storage, and limiting failed attempts.

Policy summary (SP 800-63B)

AreaRule
Length15+ characters single-factor; 8+ with MFA; allow at least 64
CompositionNo mandatory character mixes
BlocklistReject breached, dictionary and context words
RotationOnly when compromise is suspected
StorageSalt of at least 32 bits, approved password hashing, high cost factor
AttemptsAt most 100 consecutive failures before disabling
MFARequired for higher assurance levels

Applying it to network devices

Account typePractice
Administrator loginsCentral AAA (directory password policy + MFA)
Local emergency accountLong unique passphrase per device, stored in a vault, rotated after use
Service and automation accountsKeys or tokens instead of passwords where possible
Shared secrets (RADIUS, TACACS+, SNMPv3, routing keys)Long random values, rotated on staff changes
R1(config)# security passwords min-length 15
R1(config)# username breakglass privilege 15 algorithm-type scrypt secret <passphrase>
R1(config)# aaa local authentication attempts max-fail 5
R1# show aaa local user lockout

Password policy topics in this reference

TopicCovers
ComplexityWhy composition rules were dropped
LengthMinimums and maximums
RotationWhen to change
Secure storageHashing on devices and in systems
MFA, certificates, biometricsStronger authenticators

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

A password policy defines how passwords are created, stored and used. Current guidance from NIST has shifted the focus away from complex character rules and frequent changes, toward length, screening against known-compromised passwords and multi-factor authentication. On network devices the policy also covers how passwords are stored in the configuration, so a stolen config file does not reveal them.

Password policy for network devices and users (aligned with NIST SP 800-63B):

TopicCurrent guidance
LengthMinimum 15 when the password is the only factor, 8 when used with MFA; allow at least 64
Complexity rulesNot required; check against breached-password lists instead
RotationOnly on evidence of compromise, not on a fixed schedule
MFARequired for remote and privileged access
Storage on devicesType 8/9 hashes (PBKDF2/scrypt), never type 7 or 5 for new configs
username admin privilege 15 algorithm-type scrypt secret <password>
enable algorithm-type scrypt secret <password>
security passwords min-length 15
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
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 docProtocol standard + deployed implementation RFC 2475

Authoritative/upstream documentation reviewed for bounded claims in Security → Password Policy. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc2475.html · confidence 94%
Confirmation

Confirm action

Continue?