Use it when setting or reviewing password rules, especially if an older policy still requires complexity.
Complexity
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!.
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.
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
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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 · 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.
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.
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)
| Requirement | Detail |
|---|---|
| No composition rules | Don't require mixes of character types |
| Blocklist check | Breached passwords, dictionary words, context words such as the service name or username |
| Whole-password comparison | Not substrings |
| Feedback | Tell users why a password was rejected and help them choose a better one |
| Wide character set | Printable ASCII, spaces and Unicode accepted |
Why
| Rule | Typical user response |
|---|---|
| Must include a digit | Adds "1" at the end |
| Must include a symbol | Adds "!" |
| Must change every 90 days | Increments 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.
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.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%