Password Recovery for Juniper EX Series Switches
From NesevoWiki
Jump to navigationJump to search- See Juniper Knowledge Base: https://kb.juniper.net/InfoCenter/index?page=content&id=KB14102
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, typeboot -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.