OK.
I hope that this guide, can help you:
https://www.cisco.com/c/en/us/support/docs/smb/switches/cisco-small-business-300-series-managed-switches/smb5563-configure-password-settings-on-a-switch-through-the-command.html#complexsw(config)#: password complexity enable
sw(config)#: passwords complexity [min-length number] [min-classes number] [not-current] [no-repeat number] [not-username] [not manufacturer-name]
The options are:
min-length number — Sets the minimal length of the password. The range is from 0 to 64 characters. The default value is 8.
min-classes number — Sets the minimal character classes such as uppercase letters, lowercase letters, numbers, and special characters available on a standard keyboard. The range is from 0 to 4 classes. The default value is 3.
not-current — Specifies that the new password cannot be the same as the current password.
no-repeat number — Specifies the maximum number of characters in the new password that can be repeated consecutively. Zero specifies that there is no limit on repeated characters. The range is from 0 to 16 characters. The default value is 3.
not-username — Specifies that the password cannot repeat or reverse the user name or any variant reached by changing the case of the characters.
not-manufacturer-name — Specifies that the password cannot repeat or reverse the name of the manufacturer or any variant reached by changing the case of the characters.
Note: These commands do not wipe out the other settings. Configuring the passwords complexity settings only work as a toggle.
Jaderson Pessoa
*** Rate All Helpful Responses ***