< Home

Restoring the Password for Web Login

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 for web login.

Telnet may bring security risks. You are advised to log in to the switch through the console port or 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
Warning: This operation may affect online users, are you sure to change the user privilege level ?[Y/N]y
[HUAWEI-aaa] return
<HUAWEI> save
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic