Configure password minimum length

To configure the password minimum length, enter the password minimum-length command. The minimum password length must be equal or greater than the sum of the password composition. You can set the password minimum length for all users or per user.

Example

To configure the password minimum length to 10 for all users, enter:

switch# password minimum-length 10
    
To configure the password minimum length to 10 for the operator user operatorABC only, enter:
switch# password operator user-name operatorABC minimum-length 10
      
To configure the password minimum length to 10 for the local user localuserXYZ only, enter:
switch# aaa authentication local-user localuserXYZ min-pwd-length 10