What should I do if I forget the Telnet login password of CE series switches

If you forget the Telnet login password of a CE series switch, log in to the switch through the console port and set a new password for Telnet login.

# Take password authentication for VTY0 login as an example. Set the password to Huawei@123. The configuration is as follows:
<HUAWEI> system-view
[~HUAWEI] user-interface vty 0
[~HUAWEI-ui-vty0] authentication-mode password
[*HUAWEI-ui-vty0] set authentication password
Please configure the login password (8-16)
Enter Password:   \\Enter the password.
Huawei@123
Confirm Password:   \\Enter the password again.
Huawei@123
[*HUAWEI-ui-vty0] user privilege level 15
[*HUAWEI-ui-vty0] commit
[~HUAWEI-ui-vty0] return
<HUAWEI> save
Warning: The current configuration will be written to the device. Continue? [Y/N]: y


# Take AAA authentication for VTY0 login as an example. Set the user name to admin123 and password to Huawei@123. The configuration is as follows:

<HUAWEI> system-view
[~HUAWEI] user-interface vty 0
[~HUAWEI-ui-vty0] authentication-mode aaa
[*HUAWEI-ui-vty0] quit
[*HUAWEI] aaa
[*HUAWEI-aaa] local-user admin123 password irreversible-cipher Huawei@123
[*HUAWEI-aaa] local-user admin123 service-type telnet
[*HUAWEI-aaa] local-user admin123 level 15
[*HUAWEI-aaa] commit
[~HUAWEI-aaa] return
<HUAWEI> save
Warning: The current configuration will be written to the device. Continue? [Y/N]: y

Scroll to top