Got it

Recovering the Console Port Login Password

Latest reply: Oct 12, 2021 05:32:19 284 14 13 0 0


1. Usage Scenario


Logging in to a switch through the console port is a local management mode that is most commonly used. Generally, a password is configured for logging in to a switch through the console port to ensure security. You can log in to the switch for configuration and management only after entering the correct password.

What What should you do if you forget the console port login password?


2. Solutions


1.Log in to the switch using other login modes. For example, you can log in to the switch using Telnet or STelnet, and reconfigure the console port login password.

2. Clear the console port login password using the BootROM menu. (Note that this solution requires a system reboot. Therefore, select a proper time to perform this operation.)


3. Configuration Procedure of the First Solution (Using Other Login Modes)



If the password authentication mode is used for console port login, the configuration procedure is as follows:

<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


If the AAA authentication mode is used for console port login, the configuration the procedure is as follows:

<HUAWEI>system-view

[HUAWEI]user-interface console 0

[HUAWEI-ui-console0]authentication-modeaaa

[HUAWEI-ui-console0]quit

[HUAWEI]aaa

[HUAWEI-aaa] local-user admin123 password irreversible-cipher Huawei@123

[HUAWEI-aaa] local-user admin123 service-type terminal

[HUAWEI-aaa] return

<HUAWEI>save


4. Configuration Procedure of the Second Solution (Using the BootROM Menu)


1.Connect a PC to the switch using a serial cable, and restart the switch. When the system displays the message "Press Ctrl+B to enter boot menu", press Ctrl+B and enter the BootROMpassword. The BootROM main menu is displayed. (On some switch models such as the S5720HI and S12700, the BootLoad menu is used.)

In V100R006C03 and later versions, the default BootROMpassword is Admin@huawei.com for both fixed and modular switches. However, in versions earlier than V100R006C03, the default BootROMpassword for fixed switches is huawei and that for modular switches is 9300.

2.Select Clear password for console user to clear the console port login password.
3.The BootROM main menu is then displayed. Select Boot with default mode to restart the switch. Do not select Reboot; otherwise, the password fails to be cleared.
4.After the switch starts, the system asks whether to configure a password for console port login for the first time. You can reconfigure a console port login password. Keep the password secure.


@Farah_O @hemin88 @bek7 @MahMush @NTan33 @E.DR_91 @BAZ @Malik3000 @umaryaqub @sohaib.ansar @wissal @andersoncf1 @Sara_Obaid @Kevin_Thomas

Nice post. As always, keep up the good work!
View more
  • x
  • convention:

Kevin_Thomas
Kevin_Thomas Created Aug 29, 2021 08:26:37 (1) (0)
 
IndianKid
IndianKid Created Aug 29, 2021 11:47:55 (0) (0)
Thanks for support dear  
Good post on console port login password recovery! Thank you for sharing!
View more
  • x
  • convention:

IndianKid
IndianKid Created Aug 30, 2021 06:14:00 (0) (0)
Thanks for support  
Thanks for sharing
View more
  • x
  • convention:

IndianKid
IndianKid Created Aug 30, 2021 06:13:55 (0) (0)
Thanks for support  
Thanks for sharing. It's important to keep these things handy.
View more
  • x
  • convention:

IndianKid
IndianKid Created Aug 30, 2021 06:13:47 (0) (0)
Thanks for support  
E.DR_91
MVE Author Created Aug 30, 2021 09:20:33

Valuable information dear Friend
View more
  • x
  • convention:

Well done! Its important for know
View more
  • x
  • convention:

Thanks for sharing
View more
  • x
  • convention:

Well explained case!
View more
  • x
  • convention:

AL_93
Moderator Created Oct 12, 2021 05:32:19

Valuable information. Thanks
View more
  • x
  • convention:

Comment

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

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

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.