Disable the password complexity check on S series switches

In the versions earlier than V200R003, S series switches (except S1700 switches) use simple user name and password rules, so that the user names and passwords are easy to manage and remember. However, simple passwords have security risks. In V200R003, the switches pose stricter requirements on user names and passwords. After you create a local user by using the local-user command on a switch, the password must pass a complexity check performed by the switch. In V200R005 and later versions, you can choose whether to enable password complexity check.
By default, a switch checks password complexity. Disable the password complexity check on a switch as follows:
�?If you are a common local user, run the following command:
[HUAWEI] aaa
[HUAWEI-aaa] undo user-password complexity-check
�?If you log in to the switch through the console port, run the following command:
[HUAWEI] user-interface console 0
[HUAWEI-ui-console0] authentication-mode aaa
[HUAWEI-ui-console0] quit
[HUAWEI] aaa
[HUAWEI-aaa] undo user-password complexity-check
�?If you log in to the switch through Telnet or SSH, run the following command:
[HUAWEI] user-interface vty 0
[HUAWEI-ui-vty0] authentication-mode aaa
[HUAWEI-ui-vty0] quit
[HUAWEI] aaa
[HUAWEI-aaa] undo user-password complexity-check

Scroll to top