Hello,
1. To reset the serial port password without clearing the configuration, you need to enter the BootLoader BootLoader menu. The default BootLoader password is Admin@huawei.
https://support.huawei.com/hedex/hdx.do?docid=EDOC1100087043&id=EN-US_CONCEPT_0182380828&lang=en
Deleting the console port login password and telnet login password through bootLoader
https://support.huawei.com/hedex/hdx.do?docid=EDOC1100087043&id=EN-US_TASK_0189152755&lang=en
2.To disable the local administrator password policy, perform the following steps:
<Huawei> system-view
[Huawei] aaa
[Huawei-aaa] undo local-aaa-user password policy administrator
To disable the local access user password policy, perform the following steps:
<Huawei> system-view
[Huawei] aaa
[Huawei-aaa] undo local-aaa-user password policy access-user