The user-interface password complexity-check disable command disables the password complexity check function.
The undo user-interface password complexity-check disable command enables the password complexity check function.
By default, the password complexity check function is enabled.
user-interface password complexity-check disable
undo user-interface password complexity-check disable
Usage Scenario
Passwords configured in the interface view must meet the following complexity requirements:
A password must contain at least 8 characters. If the minimum length set using the set password min-length command exceeds 8 characters, the command configuration takes effect.
A password must contain at least two types of characters: uppercase characters, lowercase characters, digits, and special characters, excluding question marks (?) and spaces.
To disable the password complexity check function, run the user-interface password complexity-check disable command. To enable the password complexity check function, run the undo user-interface password complexity-check disable command.
Precautions
If the configured password does not meet complexity requirements, it is prone to attacks and cracks from unauthorized users, which affects device security. Therefore, keeping the password complexity check function enabled is recommended.