Got it

Handling Loss of the Password for Telnet Login

Latest reply: Apr 5, 2016 01:22:26 2037 1 0 0 0


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

NOTE: The following uses the command lines of the S7700 in V200R006C00 as an example.

# Logging in to the device through the console port.

  1. Connect the DB9 female connector of the console cable to the COM port on the PC, and connect the RJ45 connector to the console port on the device.

  2. Start the terminal emulation software on the PC. Create a connection, select the connected port, and set communication parameters.

  • Baud rate : 9600

  • Data bits : 8

  • Stop bits : 1

  • Parity : None

  • Flow Control : None

Click Connect. Enter or configure the login password as prompted to log in to the switch.

# Take password authentication for VTY0 login as an example. Set the password to Huawei@123.

<HUAWEI> system-view
[HUAWEI] user-interface vty 0
[HUAWEI-ui-vty0] protocol inbound telnet   //By default, switches in V200R006 and earlier versions support Telnet, and switches in V200R007 and later versions support SSH.
[HUAWEI-ui-vty0] authentication-mode password
[HUAWEI-ui-vty0] set authentication password cipher Huawei@123
[HUAWEI-ui-vty0] user privilege level 15

[HUAWEI-ui-vty0] return

<HUAWEI> save

# Take AAA authentication for VTY0 login as an example. Set the user name and password to admin123 and Huawei@123 respectively.

<HUAWEI> system-view
[HUAWEI] user-interface vty 0
HUAWEI-ui-vty0] protocol inbound telnet   //By default, switches in V200R006 and earlier versions support Telnet, and switches in V200R007 and later versions support SSH.
[HUAWEI-ui-vty0] authentication-mo
de 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 privilege level 15

[HUAWEI-aaa] return

<HUAWEI> save

 More Information: S Series Switches Common Operation Guide

  • x
  • convention:

Created Apr 5, 2016 01:22:26

Thank you.
View more
  • x
  • convention:


You need to log in to comment to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits


Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.