How to disable the user name length check function on CE series switches

By default, the security policy function is enabled for local accounts on CE series switches to ensure security. The function requires that a local user name contain at least six characters.

If the minimum length is specified for local user names on a switch, the switch also checks user name length.

To disable user name length check, run the following commands:

<HUAWEI> system-view
[~HUAWEI] aaa
[~HUAWEI-aaa] undo local-user policy security-enhance       //Disable the security policy function for local accounts.

[*HUAWEI-aaa] undo user-name minimum-length       //
If the minimum user name length check function has been enabled, disable this function.

[*HUAWEI-aaa] commit

Scroll to top