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
The complexity requirements of the passwords configured in the interface view on the device are as follows:
The minimum length of a password is 8 characters. If the minimum length set using the set password min-length command exceeds 8 characters, this minimum length takes effect.
A password contains 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 be attacked and cracked by unauthorized users, which affects device security. Therefore, keeping the password complexity check function enabled is recommended.