Pcornel
Networking · Security › Password Policy

Complexity

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

Back to the Topic

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

Remember

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.

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=1490

Confirmation

Confirm action

Continue?