Hello,
You can reset the console password through Uboot.
# Restart the AP.
# Press F within 3 seconds when the following information is displayed to enter the Uboot CLI view:
Press f or F to stop Auto-Boot in 3 seconds: 3
Password for uboot cmd line : //Enter the Uboot password.
ar7240>
# Restore the default account and password of the AP.
ar7240> defaultuser
Start setting whether to Change Password.....
Current Bootup Change PW is N
Do you Want To Change The Default password, Y or N :Y
Refer to:https://support.huawei.com/enterprise/en/doc/EDOC1100051194/3c04076a/defaultuser