Use it when deciding change rules for user accounts, shared device credentials and service keys.
Password Rotation
Password rotation means changing passwords on a schedule. Current guidance is to change them when there is evidence of compromise, not at fixed intervals for users.
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
- Forced periodic changes without evidence of compromise.
- Not changing shared passwords when staff leave.
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.
Forced periodic changes lead to weak, incremental passwords. Do rotate shared and break-glass accounts when staff leave, and service keys and pre-shared keys on a schedule. Track when device local passwords were last changed.
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
When to change passwords
Change on evidence of compromise, after a breach exposure, when staff with knowledge of shared secrets leave, or when moving from weak to strong policy. Routine forced changes (every 90 days) lead to weaker, incremented passwords and are no longer recommended by NIST and Microsoft. Shared device and service secrets still need planned rotation with a vault.
ReferenceWhy it matters1 section · depth on demand
Current guidance
NIST SP 800-63B says not to force periodic password changes; require a change only on evidence of compromise. Forced rotation leads to weaker, predictable passwords. Combine long passwords with MFA and checks against breached-password lists.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Password rotation
Forced periodic password changes used to be standard. NIST SP 800-63B now says verifiers shall not require periodic changes, and shall require a change only when there is evidence that the password has been compromised.
Why periodic rotation was dropped
| Effect of forced rotation | Result |
|---|---|
| Users make small, predictable changes | Winter2026! → Spring2026! |
| Passwords get written down | More exposure |
| Attackers who have a password usually use it quickly | Rotation every 90 days rarely stops them |
When to change a password (SP 800-63B)
| Trigger | Action |
|---|---|
| Evidence of compromise (breach, phishing, malware) | Force a change |
| Password found in a breach corpus or blocklist | Force a change |
| No evidence of compromise | No forced change |
Service and device credentials are different
Human passwords follow the rule above, but shared and machine secrets need planned rotation, because many people or systems know them:
| Secret | Rotate when |
|---|---|
| Local emergency (break-glass) passwords | After each use and when staff with access leave |
| SNMPv3, RADIUS and TACACS+ shared keys | Periodically and on staff changes |
| VPN pre-shared keys | On staff changes; better to move to certificates |
| API tokens | On a schedule and when exposed |
R1(config)# key chain OSPF-KEYS
R1(config-keychain)# key 2
R1(config-keychain-key)# key-string <new-key>
R1(config-keychain-key)# accept-lifetime 00:00:00 Dec 1 2026 infinite
R1(config-keychain-key)# send-lifetime 00:00:00 Dec 2 2026 infinite
R1# show key chain OSPF-KEYS
Key chains with overlapping lifetimes let routing protocol keys rotate without dropping adjacencies.
Supporting controls
Without forced rotation, the other controls matter more: blocklist checks, MFA, monitoring for credential-stuffing attempts, and rate limiting.
Documented example, not captured output.
Quick reference
Forced periodic rotation leads users to predictable increments (Password1 → Password2). Current guidance: change passwords when there is evidence or suspicion of compromise, when staff with knowledge leave, or after an incident — not every 90 days.
Service and device credentials are different: rotate shared local admin and break-glass passwords after use and when administrators leave, and prefer per-device unique passwords stored in a vault (or AAA so local accounts are only fallback).
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 → Rotation. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc2475.html · confidence 94%