If you forget or want to change the web login password, log in to the
switch through the console port, Telnet, or STelnet and set a new password
after login.
NOTE:
The Telnet protocol has security vulnerabilities. It is recommended that
you log in to the device through the console port or using STelnet V2.
# Set the user name and password to admin123 and Huawei@123
respectively.
<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