This section describes how to resolve the problem if you forget your user name or password.
If the administrator account/password (including the console port password) is forgotten, other administrator accounts of level 3 or above can be used to log in to the device using other login methods to recover the password. For details, see Password Recovery for the Console Port. When the password of the console port is also forgotten and there is no other high-level administrator account on the device, you need to enter the BootLoader to recover the password.
By default, the BootLoader password is empty. When you log in to the system for the first time, the system prompts you to set the password. The password must be a string of at least eight characters, including at least two types of the following: uppercase letters, lowercase letters, digits, and special characters (such as ! @ # $ %). Keep the password secure. The following displays the BootLoader main menu after the password is set.
Press Ctrl+B to break auto startup... 3
Enter Password:************
Main Menu
1. Default startup
2. Serial submenu
3. Ethernet submenu
4. Startup parameters submenu
5. File system submenu
6. Password manager submenu
7. Reset factory configuration
8. Reset factory password
0. Reboot
Enter your choice(0-8):8 //Press 8 to enter the administrator password submenu.
NOTE: This operation will reset current password.
Choose 'yes' to continue, or 'no' to stop and return.
<1> Yes
<0> No
Enter your choice(0-1): 1
Password:************ //Enter the BootLoader Password
Restoring factory password ...Done.
Main Menu
1. Default startup
2. Serial submenu
3. Ethernet submenu
4. Startup parameters submenu
5. File system submenu
6. Password manager submenu
7. Reset factory configuration
8. Reset factory password
0. Reboot
Enter your choice(0-8):1 //Press 1 to trigger system restart.
If the following information and the user view are displayed, the device starts successfully.
Recover configuration begin ...
Recover configuration end
Press ENTER to get started.
Warning: There is a risk on the user-interface which you login through. Please c
hange the configuration of the user-interface as soon as possible.
*************************************************************************
* Copyright (C) 2014-2020 Huawei Technologies Co., Ltd. *
* All rights reserved. *
* Without the owner's prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
*************************************************************************
Info: Please change the configuration of the password as soon as possible.
<sysname>
Do not run the quit command in the user view. Otherwise, you need to restart the device again before re-setting the administrator password.
<sysname> system-view [sysname] aaa [sysname-aaa] manager-user admin [sysname-aaa-manager-user-admin] password cipher Admin@12345 Info: You are advised to config on man-machine mode. [sysname-aaa-manager-user-admin] quit [sysname-aaa] quit [sysname] quit <sysname> quit
After the password is changed, run the quit command to exit the device to ensure device security. After logging out, you can use the new password to log in to the device again.