Pcornel
Networking · Security › Password Policy

Password Rotation

Cheat sheet · https://pcornel.dk/topic.php?topic=1492

Back to the Topic

Answer

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.

Remember

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.

First 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.

Verify in this order

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

Where it usually breaks

packet selector → class match → marking → policy attachment → queue/policer/shaper → egress counters/drops → receiver behavior

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1492

Confirmation

Confirm action

Continue?