Hey there! This is a case about The switch forgot the web login password.
If you forget or want to change the web system login password, log in to the device through the console port, Telnet, or STelnet and set a new password after login.
NOTE:
Telnet has security vulnerabilities. You are advised to log in to the device using STelnet V2.
# Set the password to Huawei@123 for the user admin123. The configuration is as follows:
<Huawei> system-view
[Huawei] aaa
[Huawei-aaa] local-user admin123 password irreversible-cipher Huawei@123
[Huawei-aaa] local-user admin123 service-type http
[Huawei-aaa] local-user admin123 privilege level 15
[Huawei-aaa] return
<Huawei> save
If you have any problems, please post them in our Community. We are happy to solve them for you!