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

Created May 07, 2018 10:37:09Latest reply May 07, 2018 15:39:31 703 1 0 1
      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
http://support.huawei.com/enterprise.
Step 2: Click Switches.

Step 3: Click the name of the product to be queried, for example, S7700.

Step 4: Choose Documentation> S7700&S9700 Series Switches FAQ to find the FAQ for your switch model. 
 
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
FAQ
http://support.huawei.com/enterprise/en/doc/EDOC0100547869?idPath=7919710|21782164|21782186|22318632|6805481
This post was last edited by All_About_Switch at 2018-5-10 14:23.
  • x
  • convention:

wissal     Created May 07, 2018 15:39:31 Helpful(0) Helpful(0)

clear and useful document, thanks
  • x
  • convention:

Responses

Reply
You need to log in to reply to the post Login | Register

Notice:To ensure 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 not limited to politically sensitive content, content concerning pornography, gambling, drug abuse and trafficking, content that may disclose or infringe upon others' intellectual properties, including commercial secrets, 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 Policy.”
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top