EX2300 and EX3400 series switches can be recovered by performing a format install from TFTP server if the switch does not boot successfully. This article describes the procedure.
Note: This procedure will format the switch and all configurations will be lost.
For USB format install steps, refer to KB31265 - [EX] How to format install on EX2300 and EX3400 [juniper.net] .
=> setenv ipaddr 172.22.157.103 => setenv gatewayip 172.22.157.1 => setenv netmask 255.255.255.0 => setenv serverip 172.22.157.102 => save
Ping the server to see if is reachable:
=> ping 172.22.157.102 Using FM1@DTSEC1 device host 172.22.157.102 is alive
a. To reboot the switch from u-boot mode:
=> boot
Issue the install command with the format option to install the Junos image via TFTP:
loader> install --format tftp://172.22.157.102/junos-install-media-net-arm-32-15.1X53-D55.5.tgz
After TFTP installation is done, log in and verify that the new version of the software is properly installed.
2020-03-28: Added link to KB31265 [juniper.net] in Summary
2018-10-28: Corrected typo; changed 'etenv netmask' to 'setenv netmask' in step 4