Got it

[All About Switches] Q&A: What Can I Do If I Forget the Password for Login to S Series Switches Through the Console Port?

Latest reply: May 7, 2018 07:39:31 936 1 0 1

Hi, everyone! Today I’m going to introduce to you what can I do if I forget the password for login to S series switches through the console port.

 A: When you forget the password for logging in through the console port, use either of the following two methods to set a new password.
1. Logging In to the Device Through STelnet/Telnet to Set a New Password.
Ensure that you have an STelnet/Telnet account and administrator rights. The following uses the command lines and outputs of logging in to the device using STelnet as an example. After logging in to the device through STelnet, perform the following operations.

Step 1: Take password authentication as an example. Set the password to Huawei @123.
<HUAWEI> system-view
[HUAWEI] user-interface console 0
[HUAWEI-ui-console0] authentication-mode password
[HUAWEI-ui-console0] set authentication password cipher Huawei@123
[HUAWEI-ui-console0] return
<HUAWEI> save

Step 2: Take AAA authentication as an example. Set the user name and password to admin123 and Huawei@123, respectively.
<HUAWEI> system-view                                               
[HUAWEI] user-interface console 0                             
[HUAWEI-ui-console0] authentication-mode aaa       
[HUAWEI-ui-console0] quit                                          
[HUAWEI] aaa
[HUAWEI-aaa] local-user admin123 password irreversible-cipher Huawei@123
[HUAWEI-aaa] local-user admin123 privilege level 15
[HUAWEI-aaa] local-user admin123 service-type terminal
[HUAWEI-aaa] return
<HUAWEI> save

2. Clearing the Lost Password Using the BootROM/BootLoad Menu.

You can use the BootROM/BootLoad menu of the device to clear the lost password for console port login. After starting the switch, set a new password and save your configuration. Perform the following steps.

Step 1: Connect the terminal to the console port of the device and restart the device. When the following message is displayed, press Ctrl+B and enter the BootROM/BootLoad password to enter the BootROM/BootLoad menu.
Press Ctrl+B or Ctrl+E to enter BootROM menu ... 2
password:      //Enter the BootROM/BootLoad password.

Step 2: Select Clear password for console user on the BootROM/BootLoad menu to clear the password for console port login.

Step 3: Select Boot with default mode on the BootROM/BootLoad menu to start the device as prompted.

Step 4: After the device is started, log in through the console port. Authentication is not required when you log in. Set a password as prompted after login. (In V200R009 and later versions, the authentication mode for console port login is non-authentication after the device starts, and the system does not ask you to configure an authentication password.)

Step 5: You can set an authentication mode and password for the console user interface according to service requirements. The configuration is similar to that of Logging In to the Device Through STelnet/Telnet to Set a New Password, and is not provided here. 
For details, see the S Series Switches FAQ .     
Step 1: Log in to the enterprise technical support website at
Step 2: Click Switches.
[All About Switches] Q&A: What Can I Do If I Forget the Password for Login to S Series Switches Through the Console Port?-2660533-1
Step 3: Click the name of the product to be queried, for example, S7700.
[All About Switches] Q&A: What Can I Do If I Forget the Password for Login to S Series Switches Through the Console Port?-2660533-2
Step 4: Choose Documentation> S7700&S9700 Series Switches FAQ to find the FAQ for your switch model. 
[All About Switches] Q&A: What Can I Do If I Forget the Password for Login to S Series Switches Through the Console Port?-2660533-3 
Step 5: Open the FAQ. Choose Basic Configuration> What If I Forget the Password for Console Port Login in the navigation tree on the left, and follow the instructions.
S7700&S9700 Series Switches

If you have any problems, please post them in our Community. We are happy to solve them for you!

  • x
  • convention:

MVE Created May 7, 2018 07:39:31 Helpful(0) Helpful(0)

clear and useful document, thanks
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 " Privacy."

My Followers

Login and enjoy all the member benefits


Huawei Enterprise Support Community
Huawei Enterprise Support Community
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.