Difference between revisions of "Password Recovery for Juniper EX Series Switches"

From NesevoWiki
Jump to navigationJump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
* See Juniper Knowledge Base: https://kb.juniper.net/InfoCenter/index?page=content&id=KB14102
 
* See Juniper Knowledge Base: https://kb.juniper.net/InfoCenter/index?page=content&id=KB14102
 +
 
For the impatient:
 
For the impatient:
 
* Connect to the switche's console and power-cycle the switch
 
* Connect to the switche's console and power-cycle the switch
Line 13: Line 14:
 
* Exit config mode and operational mode by issueing the <code>exit</code> command twice
 
* Exit config mode and operational mode by issueing the <code>exit</code> command twice
 
* Confirm reboot with <code>y</code>
 
* Confirm reboot with <code>y</code>
 +
 +
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''.

Latest revision as of 16:28, 17 May 2021

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.