Difference between revisions of "Password Recovery for Juniper EX Series Switches"
From NesevoWiki
Jump to navigationJump to search (Created page with "* See Juniper Knowledge Base: https://kb.juniper.net/InfoCenter/index?page=content&id=KB14102") |
|||
(2 intermediate revisions by 2 users 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: | ||
+ | * 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 <code>loader></code> prompte, type <code>boot -s</code> | ||
+ | * At the next prompt, type <code>recovery</code> | ||
+ | * At the next prompt, enter config mode by typing <code>configure</code> | ||
+ | * Now, set root password to ''Cisco123'' through the following command: | ||
+ | set system root-authentication plain-text-password | ||
+ | * Save changes by typing <code>commit</code> | ||
+ | * Exit config mode and operational mode by issueing the <code>exit</code> command twice | ||
+ | * 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
- 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 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.