Pcornel
Networking · Security › Password Policy

Length

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

Back to the Topic

Answer

Password length is the most important factor in password strength: each extra character multiplies the number of combinations an attacker must try.

Remember

At least 8 characters for user-chosen passwords with MFA, 15 or more without; allow long passphrases (64+). On IOS: security passwords min-length <n>. Pre-shared keys and SNMP secrets should be long and random.

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

Confirmation

Confirm action

Continue?