Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Complexity

Direct answer

Password complexity rules require a mix of character types (upper, lower, digits, symbols). They make brute force harder but often lead to predictable patterns such as Password1!.

When to use this

Use it when setting or reviewing password rules, especially if an older policy still requires complexity.

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 setting or reviewing password rules, especially if an older policy still requires complexity.
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
  • Complexity rules that encourage predictable patterns.
  • Blocking spaces and long 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

Length adds more strength than complexity: a 20-character passphrase beats an 8-character complex password. Modern guidance drops mandatory composition rules and checks against known-breached passwords instead. Cisco IOS can enforce character classes with aaa common-criteria policy.

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

Current guidance

NIST SP 800-63B no longer recommends composition rules (upper/lower/digit/symbol) because users respond with predictable patterns ("Password1!"). Instead: minimum length, allow all characters including spaces, and block known-breached and common passwords. Complexity rules may still be required by older policies or specific standards.

ReferenceWhy it matters1 section · depth on demand

When to use it

Use it to identify insecure administrative access and replace password-only, shared or weak authentication with protected, accountable access.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Password complexity

Classic complexity rules (one uppercase, one digit, one symbol) don't make passwords much stronger in practice; people respond predictably (Password1!). NIST SP 800-63B now says verifiers shall not impose composition requirements beyond its listed rules, and instead requires checking new passwords against a blocklist of common, expected or compromised values.

What replaces complexity rules (SP 800-63B)

RequirementDetail
No composition rulesDon't require mixes of character types
Blocklist checkBreached passwords, dictionary words, context words such as the service name or username
Whole-password comparisonNot substrings
FeedbackTell users why a password was rejected and help them choose a better one
Wide character setPrintable ASCII, spaces and Unicode accepted

Why

RuleTypical user response
Must include a digitAdds "1" at the end
Must include a symbolAdds "!"
Must change every 90 daysIncrements a number

The result is a predictable pattern that guessing tools try first. Length and blocklists defend against guessing better.

Network devices

Network operating systems often still offer complexity settings. On Cisco IOS XE, an AAA common-criteria policy can enforce length and character classes:

R1(config)# aaa new-model
R1(config)# aaa common-criteria policy ADMIN-PW
R1(config-cc-policy)# min-length 15
R1(config-cc-policy)# max-length 64
R1(config)# username netadmin common-criteria-policy ADMIN-PW algorithm-type scrypt secret <passphrase>
R1# show aaa common-criteria policy name ADMIN-PW

Practical guidance

Prefer long passphrases and a password manager; put individual admin accounts on a central AAA server, where the directory's password policy applies; and keep local device passwords for emergency use only, long and unique per device.

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

Complexity rules (upper/lower/digit/symbol) produce predictable patterns (Summer2026!) without much security gain. NIST SP 800-63B recommends not imposing composition rules, and instead blocking passwords found in breach corpora, dictionary words and context-specific terms (company name, device name).

On Cisco devices, password strength-check and aaa common-criteria policy can enforce rules locally; for central accounts, enforce policy in the identity provider (AD, Entra ID) with banned-password lists.

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