Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Length

Direct answer

Password length is the most important factor in password strength: each extra character multiplies the number of combinations an attacker must try.

When to use this

Use it to set a minimum length for users, administrators and service accounts.

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 to set a minimum length for users, administrators and service accounts.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 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 Common mistakes Narrow the fault
  • Requiring complexity rules that lead to predictable patterns (Summer2026!).
  • Low maximum length that blocks passphrases.
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
Key points

At least 8 characters for user-chosen passwords with MFA, 15 or more without; allow long passphrases (64+). On IOS: security passwords min-length <n>. Pre-shared keys and SNMP secrets should be long and random.

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

Recommended lengths

Account typeMinimum
User accounts with MFA8 (NIST), 12–14 common in practice
User accounts without MFA15
Admin and service accounts15–20+; service accounts 25+ random or gMSA
Device enable/local break-glass20+ random, stored in a vault

Allow long passphrases (64+ characters) and paste from password managers.

ReferenceWhy it matters1 section · depth on demand

What it is

Length is the most important password property: each extra character multiplies the number of guesses. NIST SP 800-63B (rev. 4) requires at least 15 characters for single-factor passwords and 8 when used with MFA, and asks systems to allow at least 64. Allow spaces and passphrases.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Password length

Length is the strongest single property of a password. NIST SP 800-63B requires a minimum of 15 characters for passwords used as a single factor and 8 characters for passwords used only as part of multi-factor authentication, and says verifiers should permit at least 64 characters.

Length requirements (SP 800-63B)

UseMinimumMaximum allowed
Password as the only factor15 charactersAt least 64 should be permitted
Password within MFA8 charactersAt least 64 should be permitted

Related rules

RuleDetail
UnicodeEach code point counts as one character; normalise (NFC) before hashing
Full verificationThe whole password is checked, not a truncated version
Whitespace and caseVerifiers may trim leading/trailing spaces or relax the first character's case, if the minimum still holds
Password managers and pasteMust allow managers and autofill; paste should be permitted

Why length works

Each extra character multiplies the number of possible passwords. A four- or five-word passphrase is easier to remember than a short complex password and far harder to guess.

ExampleLength
Tr0ub4dor&311: meets old complexity rules, too short
copper lantern drifts south27: long, memorable

On network devices

R1(config)# security passwords min-length 15
R1(config)# username breakglass privilege 15 algorithm-type scrypt secret <28-character-passphrase>
R1# show running-config | include min-length
security passwords min-length 15

security passwords min-length applies to local passwords on IOS. Administrator logins should normally go through AAA, where the directory enforces length; local break-glass passwords should be long and stored in a vault.

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

Length matters more than complexity: each extra character multiplies the search space. A 16-character passphrase of random words resists offline cracking far better than an 8-character complex password.

security passwords min-length 15
aaa common-criteria policy ADMIN-PW
 min-length 15
 max-length 64

Allow long passwords and spaces (passphrases) everywhere; truncating or limiting length is a red flag in any system.

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 → Length. 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?