Password Recovery for Juniper EX Series Switches

From NesevoWiki
Revision as of 16:27, 17 May 2021 by Philipp (talk | contribs)
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 sayng that the file system is corrupt/damaged, load a shell with the shell command and repair the file system with the fsck command. naswer all questions with y.