Console password gone, Telnet password gone, or both — the fix depends entirely on which access you still have left, not on which password you actually forgot. This is the decision tree: what still works, which of the three recovery paths that puts you on, the exact steps for each, and the three things you must do the moment you're back in.
By the AtlasCommTech engineering team — 13 years of carrier & enterprise network deployments · Updated July 2026
All three recovery paths end at the same place — a fresh password and a saved configuration — but they start from completely different assumptions about what you can still reach.
Losing a router's Console password, Telnet password, or BootROM password is routine enough that Huawei documents an official recovery method for each — but the methods aren't interchangeable, and picking the wrong one first costs a service-affecting reboot for nothing. The question that actually decides which method to use isn't "which password did I lose" — it's "what can I still log in with right now."
What follows is the decision tree this is built on, the complete steps for each of the three official recovery paths — including exactly how to get into BootROM and clear the password there — the three things to do the instant you're back in, and the risks specific to the BootROM-level methods.
Two yes/no questions place you on one of three paths before you touch a single configuration line.
If Console is still reachable, you almost never need BootROM at all — that's the fastest and lowest-risk path by a wide margin. BootROM is the fallback for when both Console and Telnet are gone, and it's the one path that requires a service-affecting reboot.
Diagram labels are kept in English for engineering clarity.
The one method that recovers a lost BootROM password itself is different again — it assumes you still have some form of command-line access to run the reset command from, which is why it sits outside this yes/no tree as its own case.
Same end state — a working login and a saved configuration — reached through three very different procedures.
This is the path to prefer whenever it's available — no reboot, no BootROM, no service interruption.
<Huawei> display users
User-Intf Delay Type Network Address AuthenStatus AuthorcmdFlag
129 VTY 0 00:23:36 TEL 10.135.18.67 pass
Username : Unspecified
+ 130 VTY 1 01:20:36 TEL 10.135.18.91 pass
Username : Unspecified
131 VTY 2 00:00:00 TEL 10.135.18.54 pass
Username : Unspecified
<Huawei> display user-interface
Idx Type Tx/Rx Modem Privi ActualPrivi Auth Int
0 CON 0 9600 - 15 - P -
+ 129 VTY 0 - 15 15 P -
+ 130 VTY 1 - 15 15 P -
+ 131 VTY 2 - 15 - P -
132 VTY 3 - 15 15 P -
// VTY 1 is level 15 -- high enough to modify the Console line
# V200R003C01 and earlier
<Huawei> system-view
[Huawei] user-interface console 0
[Huawei-ui-console0] authentication-mode password
[Huawei-ui-console0] set authentication password cipher YsHsjx_202206
[Huawei-ui-console0] return
# V200R005C00 and later
<Huawei> system-view
[Huawei] user-interface console 0
[Huawei-ui-console0] authentication-mode password
[Huawei-ui-console0] set authentication password cipher
Enter Password(<8-128>):
[Huawei-ui-console0] return
<Huawei> save
Warning: The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
It will take several minutes to save configuration file, please wait.........
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
Two authentication modes, two different fixes — check which one is actually configured before choosing.
AAA authentication mode:
<Huawei> system-view
[Huawei] user-interface vty 0
[Huawei-ui-vty0] protocol inbound telnet
[Huawei-ui-vty0] authentication-mode aaa
[Huawei-ui-vty0] quit
[Huawei] aaa
[Huawei-aaa] local-user admin123 password irreversible-cipher YsHsjx_202206
[Huawei-aaa] local-user admin123 service-type telnet
[Huawei-aaa] local-user admin123 privilege level 15
[Huawei-aaa] return
<Huawei> save
// login afterwards: username admin123, password YsHsjx_202206
Password-only authentication mode:
# V200R003C01 and earlier
<Huawei> system-view
[Huawei] user-interface vty 0 4
[Huawei-ui-vty0-4] authentication-mode password
[Huawei-ui-vty0-4] set authentication password cipher YsHsjx_202207
[Huawei-ui-vty0-4] return
# V200R005C00 and later
<Huawei> system-view
[Huawei] user-interface vty 0
[Huawei-ui-vty0] authentication-mode password
[Huawei-ui-vty0] set authentication password cipher
Warning: The "password" authentication mode is not secure, and it is strongly recommended to use "aaa" authentication mode.
Enter Password(<8-128>):
Confirm password:
[Huawei-ui-vty0] user privilege level 15
[Huawei-ui-vty0] return
<Huawei> save
// login afterwards with password YsHsjx_202207 only, no username
The only path that needs a reboot — plan for a service interruption before you start.
Main Menu
1. Default Startup 2. Serial Menu 3. Network Menu 4. Startup Select
5. File Manager 6. Reboot 7. Password Manager
Enter your choice(1-7):7
PassWord Menu
1. Modify the menu password 2. Clear the console login password 0. Return
Enter your choice(0-2):2
Clear the console login password Succeed!
PassWord Menu
1. Modify the menu password 2. Clear the console login password 0. Return
Enter your choice(0-2):0
Main Menu
1. Default Startup 2. Serial Menu 3. Network Menu 4. Startup Select
5. File Manager 6. Reboot 7. Password Manager
Enter your choice(1-7):1
// device boots; Console now logs in with no password prompt at all
# after login, set a new password immediately (same syntax as Path 1)
<Huawei> system-view
[Huawei] user-interface console 0
[Huawei-ui-console0] authentication-mode password
[Huawei-ui-console0] set authentication password cipher YsHsjx_202206
[Huawei-ui-console0] return
<Huawei> save
Main Menu
Enter your choice(1-7):4
Startup Select
1. Display Startup 2. Set Boot File 3. Set Config File
4. Startupfile Check Manage 5. Set Startup Waiting Time 0. return
Enter your choice(0-5):1
************** Current Stratup info ****************
Boot File Name : flash:/softwarenew.cc
Config File Name : flash:/cfgnew.zip
Startup Select
Enter your choice(0-5):0
Main Menu
Enter your choice(1-7):5
File Menu
1. Flash file system 0. Return
Enter your choice(0-1):1
SDCard file system MENU
1. List file in Flash 2. Delete file in Flash 3. Rename file in Flash
4. Format Flash 5. Check Flash 0. Return
Enter your choice(0-5):3
Please input the file name: cfgnew.zip
Please input the new name: cfgnew-copy.zip
Rename file[flash:/cfgnew.zip] to [flash:/cfgnew-copy.zip], Yes or No(Y/N): y
Rename OK!
SDCard file system MENU
Enter your choice(0-5):0
File Menu
Enter your choice(0-1):1
Main Menu
Enter your choice(1-7):1
// device reboots with an empty configuration and prompts:
Please configure the login password (<8-128>)
Enter password:
Confirm password:
<Huawei> system-view
[Huawei] ftp server enable
Info: Succeeded in starting the FTP server.
[Huawei] aaa
[Huawei-aaa] local-user huawei password irreversible-cipher YsHsjx_202206
[Huawei-aaa] local-user huawei ftp-directory flash:
[Huawei-aaa] local-user huawei service-type ftp
[Huawei-aaa] local-user huawei privilege level 15
C:\Documents and Setting\Administrator> ftp 10.110.24.254
User (10.110.24.254:(none)): huawei
331 Password required for huawei.
Password:
230 User logged in.
ftp> get cfgnew-copy.zip
226 Transfer complete.
// unzip on the PC, delete the Console authentication lines with a text editor, re-zip
ftp> put cfgnew-copy.zip
226 Transfer complete.
<Huawei> startup saved-configuration cfgnew-copy.zip
Info: Succeeded in setting the file for booting system
<Huawei> reboot fast
System will reboot! Continue ? [y/n]:y
// device reboots a second time and prompts again:
Please configure the login password (<8-128>)
Enter password:
Confirm password:
<Huawei> save
This is a different case again — it assumes you still have command-line access, just not the BootROM menu password.
<Huawei> system-view
[Huawei] diagnose
[Huawei-diagnose] restore boot-password
Info: Restore boot password success!
[Huawei-diagnose] return
<Huawei> reboot
System will reboot! Continue ? [y/n]:y
// after the reboot banner, press Ctrl+B and enter the (now default) BootROM password
Main Menu
Enter your choice(1-7):7
PassWord Menu
1. Modify the menu password 2. Clear the console login password 0. Return
Enter your choice(0-2):1
Modify password. Press Ctrl+c to break.
Enter Old Password:******
Input new password:******
Input new password again:******
Are you sure to change password? [y/n]:y
Save new password Success.
The password reset is the easy part — skipping any of these three turns today's recovery into next week's repeat.
Once you're on the right path, these are the details that actually cause the retries.
SYMPTOMYou're logged in over Telnet just fine, but the Console authentication commands aren't accepted or don't seem to apply.
CAUSEdisplay users only confirms a session exists; the actual permission to touch the Console line's authentication comes from the privilege level shown against that VTY line in display user-interface. A valid Telnet login at a lower level can't make this change.
FIXRun display user-interface before attempting the change and confirm the VTY line sits at level 15 (or whatever level your local policy requires for line configuration) before touching the Console authentication-mode.
<Huawei> display user-interface
+ 130 VTY 1 - 15 15 P -
// ActualPrivi must be high enough to modify user-interface console 0
SYMPTOMCtrl+B produces nothing, or the BootROM menu never appears, even though the reboot clearly happened.
CAUSEThe BootROM prompt exists before the operating system — and therefore before Telnet or SSH — has loaded at all. It is only ever reachable through a serial cable physically connected to the Console port, with a terminal program watching that session through the reboot.
FIXConnect a serial cable to Console before rebooting, not after, and keep the terminal session open and watching through the entire reboot so the "Press Ctrl+B" window isn't missed.
SYMPTOMYou get back in easily after Method 2, but the device is sitting there with no Console password at all.
CAUSEClearing the console login password in BootROM removes the authentication requirement outright — it doesn't set a temporary password, it removes the check. That state persists until you configure a new password and save it.
FIXSet the new password in the very same session you used to get back in, before doing anything else, and save immediately — don't leave this for later in the same maintenance window.
SYMPTOMThe exact command from a different firmware version's documentation gets rejected, or the device behaves as if the password was never actually set.
CAUSEV200R003C01 and earlier accept set authentication password cipher followed directly by the plaintext password on the same line. V200R005C00 and later instead prompt interactively for Enter Password(<8-128>) — the same conceptual command, incompatible syntax.
FIXCheck the running version first, and use the matching form from the two shown in Path 1 and Path 2 above rather than assuming one syntax works everywhere.
# V200R003C01 and earlier
[Huawei-ui-console0] set authentication password cipher YsHsjx_202206
# V200R005C00 and later
[Huawei-ui-console0] set authentication password cipher
Enter Password(<8-128>):
SYMPTOMAfter the BootROM reboot in Method 3, nothing works — not just the login, the interfaces, routes and services all look gone too.
CAUSERenaming the active startup configuration file doesn't touch the password specifically — it makes the file the device looks for at boot disappear, so the device starts from a genuinely empty configuration. The original configuration still exists on flash under its new name; it hasn't been deleted, just temporarily set aside.
FIXThis is exactly why the FTP-retrieve, edit, and restore steps in Method 3 aren't optional — the device isn't fully recovered until the edited configuration file is uploaded back and set as the startup configuration. Whenever the Console authentication mode allows it, prefer Method 2 over Method 3 for this reason: it never touches the rest of the configuration.
Pulled straight from the field — the ones worth having an answer ready for.
Always Method 1 if Telnet still works — it needs no reboot and no BootROM at all. If Telnet is also gone, go to BootROM: Method 2 first whenever Console authentication is password mode, since it never touches the rest of the configuration; Method 3 when Console authentication is AAA mode, or as the fallback if Method 2 doesn't fit your case.
Yes — reaching the BootROM menu requires rebooting the device, and that reboot interrupts whatever traffic the device is carrying. Both BootROM methods share this cost; there's no way to reach the BootROM menu without it.
The official guidance is direct: don't power the device off at any point during either BootROM procedure. Flash and configuration operations mid-write can leave the device in an inconsistent state, which is exactly why this is treated as a hard rule rather than a suggestion, not something to test.
That's the separate case covered above: recovering the BootROM password itself starts from restore boot-password, which has to be run from the device's own command line — meaning it only works if you still have some CLI access at all, through Console or Telnet. If every login path is gone at once, that's a different, more serious situation than a lost password — see our note on emergency recovery when Telnet, SSH and Console all fail.
Huawei publishes an official "AR Router Default Accounts and Passwords" reference covering both enterprise and carrier scenarios, but pulling it requires elevated document-access permission on Huawei's support site. Worth confirming in advance who on your team can retrieve it, rather than discovering the access gap during an actual recovery.
This note follows the official Huawei AR-series recovery procedures for Console, Telnet and BootROM passwords, reproduced here exactly as documented. The cipher values shown (like YsHsjx_202206) are the example values from that documentation, not real credentials. It assumes VRP-based AR routers specifically — the menu structure and command syntax will differ on other platforms — and it doesn't cover the case where Console, Telnet and every other management path are unavailable at the same time; that's a different problem, covered in our companion note on emergency login recovery.
Tell us what you can still log in with — Console, Telnet, neither — and we'll help you pick the right path before you reboot into anything.