2014年2月18日星期二

How to Recover the BootROM Password on Huawei Switch

Huawei S2750&S5700&S6700 Series Ethernet Switches Troubleshooting: How to Recover the BootROM Password? Below will give you the answer:

The BootROM is the basis for device security and maintenance, which provides the functions such as configuration recovery and system software upgrade. You must keep the BootROM password secure. If the BootROM password is lost, you can run the reset boot password command to restore the default password and reset a password.

To reset the BootROM password through the BootROM menu, you must connect to the console port and log in to the device through the console port.

1. In any view, restore the default BootROM password Admin@huawei.com.
<HUAWEI> reset boot password
The password used to enter the boot menu by clicking Ctrl+B will be restored
To the default password, continue? [Y/N] y
Info: Succeeded in setting password of boot to "Admin@huawei.com".

NOTE
The reset boot password command is only supported by versions later than V200ROO1 (including V200ROO1). The default password for versions earlier than V200R001 is huawei9300.

2. The default password is not secure and must be changed.
You can change the BootROM password using either of the following methods:
1 Run the bootrom password change command in the system view to change the
BootROM password.
<HUAWEI> system-view
[HUAWEI] bootrom password change
Old Password: //Enter the old password (default:

New Password(6 to 79 chars): //Enter a new password.
Confirm Password(6 to 79 chars): //Enter the new password again.

2 Enter 6 in the BootROM menu to change the BootROM password.
Run the reboot command to restart the device. When the message "Press Ctrl+B to
enter Boot Menu..." is displayed, press Ctrl+B and enter the default password to enter
the BootROM main menu.

BOOTROM MENU
1. Boot with default mode
2. Enter serial submenu
3. Enter startup submenu
4. Enter ethernet submenu
5. Enter filesystem submenu
6. Modify BOOTROM password
7. Clear password for console user
8. Reboot

Enter your choice(1-8):6 //Enter 6 to change the BootROM password.
Modify Bootrom password
Old password: //Enter the old BootRom password
(default: Admin@huawei.com).
New password: //Enter a new BootRom password.
Verify: //Enter the new BootRom password
again.
Save password to Flash...OK!

Save backup password to Flash...OK!

I use the switches S5700-28C-SI and S1700-28FR-2T2P-AC most time of this configuration, and works well.