Home / Notes / Emergency Login Recovery
NOTES · EMERGENCY LOGIN RECOVERY

Locked Out of Your Router: Emergency Recovery When Telnet, SSH and Console All Fail

Telnet's down, SSH refuses, and now Console won't answer either — that's not a forgotten password, that's a device you can't reach through any management channel while it's still supposed to be carrying traffic. This is the layer-by-layer way to find out why, the worst-case recovery path, and what to lock down afterward so it doesn't happen again.

By the AtlasCommTech engineering team — 13 years of carrier & enterprise network deployments · Updated July 2026

Why "It Won't Even Prompt Me" Is a Different Problem Than "I Forgot the Password"

A forgotten password still gets you a login prompt. This is about the case where you don't even get that far, on any channel, while the device is live.

If Telnet or STelnet remote login fails, the standard first move is to try Console instead, and check whatever Telnet/STelnet-related configuration might be at fault. This note is about what's left when Console fails too: at that point no command-line operation is possible at all through any normal channel, and what's needed is emergency, layer-by-layer triage rather than a configuration fix.

If at least one channel still gives you a username/password prompt, you don't need this note — see Router Password Recovery instead, which covers the three ordinary recovery paths.

Read This Before You Do Anything Else
  • Every step below assumes the device's business traffic is already interrupted, so acting won't cause further damage on top of what's already happened.
  • If business is NOT actually interrupted — the device is still passing traffic, you just can't manage it — do not perform any of the steps below. Collect the fault information instead and contact your agent or Huawei's after-sales support hotline promptly.

Work Down the Stack, Not Across It

Six layers, from the physical connection up to the CPU that's supposed to be answering your login — check them in order, from least disruptive to most.

The first three layers are pure hardware and terminal-side checks that never touch the device's configuration or interrupt anything further. The next three are logical causes that specifically explain why Telnet/SSH can fail while Console is still fine. The worst case — a main processing unit fault — sits at the bottom because it's the only one that costs a service-affecting action on top of the outage you already have.

No Channel Answers — Work Down, Least to Most Disruptive Layer 1 · Physical Port & Console Cablecheck the cable and the Console port itself for damage or a bad seat Layer 2 · Power Supply Systemswitch on · Input LED · Output/STATUS LED · swap the power module Layer 3 · Serial Baud Rate / Terminal Parametersdefault 9600bps, 8 data bits, 1 stop bit, no parity, no flow control Layer 4 · VTY Exhaustion (Telnet/SSH only)from Console: display users, free a stale VTY, or raise maximum-vty Layer 5 · ACL Misconfiguration on VTYfrom Console: display acl, check the inbound ACL bound to user-interface vty Layer 6 · CPU Overload Starves the Management Planefrom Console: display cpu-usage, identify and stop the offending task Worst Case · MPU Fault → Reseat / Replace, Then Device Resetonly after every layer above checks out clean, and business is already down If a layer checks out clean, move down to the next one -- don't jump straight to the hardware layer. Layers 4-6 need Console access to check -- they only apply while Console still works and only Telnet/SSH fail.

Diagram labels are kept in English for engineering clarity.

Working Through Each Layer

The first three layers cost you nothing extra if they turn out fine — the last three tell you exactly why Telnet/SSH specifically is the one failing.

Layer 1 — Physical Port and Console Cable

  1. Inspect the Console cable and the Console port itself for visible damage or a loose seat before assuming anything deeper is wrong.

Layer 2 — Power Supply System

If every indicator on the device is dark and the fans aren't spinning, this is where to look first, before touching anything else.

  1. Check that the switch on the device or on the power module is actually turned on — with multiple power modules, confirm at least one is switched on and supplying power normally.
  2. Check the power module's Input indicator. If it's not lit, the input side is abnormal — have an electrician inspect the room/rack/cabinet power feed and restore it.
  3. Check the power module's Output or STATUS indicator. If it's not lit, the output side is abnormal — try replacing the power module.

Layer 3 — Serial Baud Rate and Terminal Parameters

This is the single most common false alarm — a terminal parameter mismatch looks exactly like a dead Console port.

  1. Check whether the serial terminal's communication parameters actually match the device's Console port. By default, the Console port uses 9600bps, 8 data bits, 1 stop bit, no parity and no flow control — if the terminal is set differently, correct the terminal, not the device.

Layer 4 — VTY Exhaustion (Telnet/SSH Refuses, Console Still Fine)

This layer and the next two only make sense once Console is confirmed working — they're standard VRP checks for why the remote channels specifically refuse, run from that Console session.

  1. From Console, run display users to see every VTY line currently occupied. If all configured VTY lines already show a session — including old, idle ones nobody closed — that alone is enough to make every new Telnet/SSH attempt fail outright, with no informative error on the client side.
  2. Force-clear a stale session with free user-interface vty, or, if the management workload genuinely needs more concurrent sessions, raise the ceiling with user-interface maximum-vty.
<Huawei> display users
 User-Intf  Delay     Type  Network Address    AuthenStatus   AuthorcmdFlag
  129 VTY 0  02:14:10  TEL   10.20.4.11         pass
  130 VTY 1  00:41:02  TEL   10.20.4.34         pass
  131 VTY 2  05:02:55  TEL   10.20.4.9          pass
  132 VTY 3  01:10:00  TEL   10.20.4.61         pass
  133 VTY 4  00:03:12  TEL   10.20.4.7          pass
// all 5 VTY lines (0-4) already occupied -- no line left for a new session

<Huawei> free user-interface vty 0
// force-clears the stale session on VTY 0

<Huawei> system-view
[Huawei] user-interface maximum-vty 15
// raises the ceiling above the default of 5 if the workload genuinely needs it

Layer 5 — ACL Misconfiguration Blocking VTY Access

  1. Check whether an inbound ACL is bound to the VTY lines, and, from Console, display that ACL's rules to see whether your own management source address has been excluded — often by a rule meant for a different subnet, or one left over from a past change.
  2. Adjust the offending rule, or temporarily unbind the ACL from the VTY lines from Console while the rule gets fixed properly.
<Huawei> display current-configuration configuration user-interface
user-interface vty 0 4
 acl 3001 inbound
[Huawei] display acl 3001
Advanced ACL 3001, 1 rule
 rule 5 permit ip source 10.20.4.0 0.0.0.255
// your management source address may not be in this permitted range

<Huawei> system-view
[Huawei] user-interface vty 0 4
[Huawei-ui-vty0-4] undo acl inbound
// temporarily unbind the ACL from the VTY lines while the rule is fixed

Layer 6 — CPU Overload Starves the Management Plane

  1. From Console, run display cpu-usage. If utilization has been pinned near 100% for a sustained period, the process handling Telnet/SSH login may simply not get scheduled in time to respond, which looks from the outside exactly like the service is down.
  2. Identify the task consuming the CPU from that same output, and stop or deprioritize it from Console if it's safe to do so; if nothing can be safely stopped, a controlled reload during the already-declared outage window is the fallback.
<Huawei> display cpu-usage
CPU Usage Stat. Cycle: 60 (Second)
CPU Usage            : 98% Max: 99%
CPU Usage Stat. Time  : 2026-07-19  09:41:20
CPU utilization for five seconds: 98%: one minute: 97%: five minutes: 95%
// pinned near 100% for a sustained period -- the VTY/SSH task may not be scheduled in time to respond

Worst Case — Main Control Board Fault and Device Reset

Only reached once power and serial communication have both been ruled out — and only under the business-already-down precondition from the warning above.

  1. With power and serial communication ruled out, the main control board is the likely remaining cause. On a device with dual main control boards, try reseating them; with only a single board, replace it with a spare.
  2. If that still doesn't resolve it, reset the device by powering it off and back on.

Controlling Business Impact While You Work

The order of the six layers above isn't arbitrary — it's ordered from zero business impact to maximum, and that ordering is itself the impact-control strategy.

  1. Confirm first, honestly, whether business is actually interrupted. If it isn't, the correct action is to stop, collect fault information, and escalate — not to work through the layers below.
  2. Work layers 1-3 first: they're purely diagnostic on the cable, power path and terminal side, and none of them risk making the outage any worse.
  3. Layers 4-6 only apply once Console access is confirmed, and the checks themselves (display commands) carry no risk — only the fixes (freeing a session, changing an ACL, stopping a task) touch anything live, and even those are small, targeted changes.
  4. MPU reseat/replacement and a full device reset are last on purpose: they're the only actions here that can themselves cause an outage, so they only belong after everything less disruptive has been ruled out and the business-already-down precondition is confirmed.

Hardening: Making Sure This Doesn't Happen the Same Way Twice

Every one of these ties directly back to a layer above — each closes off one specific way this incident could repeat.

  1. Set up a genuinely independent backup management path — a second Console connection through a terminal server, or an out-of-band management link — so a single failure (a bad cable, a saturated VTY table) can't take down every channel at once the way it did this time.
  2. Limit and monitor VTY logins: tune idle-timeout so stale sessions actually expire, keep a management-only ACL bound to the VTY lines, and watch how close you're running to the VTY ceiling before it becomes an emergency.
  3. Keep regular, off-box configuration backups — if a future incident ever does need the kind of empty-config recovery covered in our Router Password Recovery note, having something ready to restore turns a long rebuild into a quick upload.
  4. Document the site's actual serial parameters and Console cable pinout on-site, next to the device — so layer 3's baud-rate check takes thirty seconds during a real incident instead of becoming its own investigation.
<Huawei> system-view
[Huawei] user-interface vty 0 4
[Huawei-ui-vty0-4] idle-timeout 10
[Huawei-ui-vty0-4] acl 3001 inbound
// tighter idle-timeout plus a management-only ACL bound to VTY

<Huawei> tftp 10.20.4.5 put vrpcfg.zip
// keep a regular, off-box configuration backup

Five Things That Waste Time During an Actual Lockout

These are the details that turn a fifteen-minute triage into an hour of guessing.

The Two Warnings You Have to Read Before Touching Anything

SYMPTOMAn engineer starts working through the recovery steps immediately, before checking whether the device is actually still passing traffic.

CAUSEEvery step in this note assumes business is already interrupted, so acting can't make things worse. If business is actually fine and only the management channel is affected, the same actions carry real risk for no corresponding benefit.

FIXConfirm business impact honestly before doing anything else. If traffic is still flowing, stop, collect fault information, and contact your agent or Huawei's after-sales hotline — don't start the layer-by-layer triage at all.

Baud Rate Mismatch Looks Exactly Like a Dead Console Port

SYMPTOMThe Console cable is connected, the device is clearly powered and running, but the terminal shows nothing at all, or shows garbled characters.

CAUSEThe terminal emulator's communication parameters don't match the device's Console port defaults (9600bps, 8 data bits, 1 stop bit, no parity, no flow control) — a purely cosmetic mismatch that reads exactly like a hardware failure until you check it.

FIXCorrect the terminal's settings to 9600/8/1/none/none and try again before escalating to a power or hardware investigation.

All Indicators Dark Isn't Always the Power Feed's Fault

SYMPTOMNo indicator lights on the device, fans not spinning — the instinct is to blame the building's electrical feed.

CAUSEThere are three separate, ordered possibilities: the switch on the device or power module simply isn't turned on; the module's Input indicator is dark, meaning the input feed itself is abnormal; or the Output/STATUS indicator is dark while Input is fine, meaning the module itself has failed even though power is arriving correctly.

FIXCheck in that order — switch, then Input LED, then Output/STATUS LED — since each points to a different fix: turning the switch on, calling an electrician for the building feed, or swapping the power module itself.

A Full VTY Table Denies Login With No Useful Error Message

SYMPTOMTelnet or SSH connections are refused or simply hang, while Console still logs in fine and the device otherwise looks healthy.

CAUSEAll of the device's VTY lines (5 by default, VTY 0-4) are already occupied — often by sessions nobody explicitly closed, just left to sit idle — so there's no line left for a new remote session to attach to.

FIXFrom Console, run display users to confirm all lines are occupied, force-clear a stale one with free user-interface vty, and consider tuning idle-timeout so this doesn't quietly build up again.

Reseating the MPU Is a Last Resort, Not a First Try

SYMPTOMEverything above has checked out clean — cable, power, serial parameters, VTY, ACL, CPU — and there's still no way in on any channel.

CAUSEWith every other layer ruled out, the main control board itself is the likely remaining cause — but this is a conclusion reached by elimination, not a first guess, precisely because reseating or replacing it is itself a service-affecting action.

FIXOnly attempt this after layers 1 through 6 are exhausted, and only under the confirmed business-already-down precondition — reseat on a dual-MPU device, replace on a single-MPU one, and fall back to a full power-off/power-on reset if that still doesn't resolve it.

Related solution designs

Five Questions That Come Up Constantly

Pulled straight from the field — the ones worth having an answer ready for.

How is this different from just forgetting my password?

A forgotten password still shows you a login prompt on at least one channel — that's a credential problem with three official recovery paths, covered in our Router Password Recovery note. This note is for when no channel gives you a prompt at all, which points to the physical connection, the terminal settings, or the device's own resources, not a password.

The device still seems to be passing traffic fine, I just can't manage it — should I still do all of this?

No. That's exactly the case the warning at the top covers: if business is not actually interrupted, don't perform the recovery steps. Collect the fault information instead and contact your agent or Huawei's after-sales support hotline — interrupting working traffic to chase a management-plane problem isn't justified.

Console is connected and the device's lights are on, but the terminal shows nothing — what's the very first thing to check?

The serial terminal's communication parameters, before anything else. A mismatch there — the terminal not set to the device's default 9600bps, 8 data bits, 1 stop bit, no parity, no flow control — is the single most common reason a perfectly healthy Console port looks dead.

Console works fine but Telnet/SSH still refuse to connect — is that this note or Router Password Recovery?

This note — specifically layers 4 through 6 (VTY exhaustion, ACL misconfiguration, CPU overload). None of those are credential problems, so Router Password Recovery's three methods don't apply; the fix is on the VTY/ACL/CPU side, run from the Console session you still have.

What's the very first configuration change to make right after this kind of recovery?

Back up the current configuration off the device immediately, before anything else — then work through the hardening list above: an independent backup management path, tighter VTY limits and monitoring, and documented serial parameters on-site.

Honest Limits of This Note

Honest Limits of This Note

Layers 1, 2 and the worst-case main-control-board step follow Huawei's official emergency handling guidance for a device that can't be logged into through any channel — reproduced here exactly as documented, including the business-impact warning at the top. Layers 4 through 6 (VTY exhaustion, ACL misconfiguration, CPU overload) are standard, generally applicable Huawei VRP diagnostic practice for why Telnet/SSH specifically can fail while Console still works, rather than being drawn from that same emergency-handling chapter, which is deliberately hardware-first in scope. This note assumes VRP-based AR routers and physical Console access as the entry point for every non-hardware-reset step.

Mid-lockout right now?

Tell us which layer you're stuck at and whether business is actually interrupted, and we'll help you work through the rest safely.

WhatsApp an engineer →

Related Reading