Password Recovery for Juniper EX Series Switches

From NesevoWiki
Revision as of 16:28, 17 May 2021 by Philipp (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

For the impatient:

  • Connect to the switche's console and power-cycle the switch
  • Hit [SPACE] immediately when this message appears
  Hit [Enter] to boot immediately, or space bar for command prompt.
  Booting [kernel] in 1 second...
  • At the loader> prompte, type boot -s
  • At the next prompt, type recovery
  • At the next prompt, enter config mode by typing configure
  • Now, set root password to Cisco123 through the following command:
  set system root-authentication plain-text-password
  • Save changes by typing commit
  • Exit config mode and operational mode by issueing the exit command twice
  • Confirm reboot with y

Info:

  • This procedure might also work for MX series routers (e.g. MX104)
  • If you get a message saiyng that the file system is corrupt/damaged, load a shell with the shell command and repair the file system with the fsck command. Answer all questions with y.