This article provides information on how to install software on EX Series devices via a Trivial File Transfer Protocol (TFTP) server.
For information on how to install software on SRX devices, refer to Installing Junos OS Using TFTP on SRX Series Devices.
Install software on EX Series devices via a TFTP server.
Perform the following steps:
- Prepare a TFTP server and put the corresponding image in the TFTP root directory.
For example, the IP address of the TFTP server is 192.168.100.1/24 and the filename of the image is jinstall-ex-10.0R2-domestic-signed.tgz
.
-
Directly connect the EX Series device's management port to the TFTP server, or make sure that they are in the same broadcast domain.
-
Connect a terminal to the EX Series device's console port and power-on the switch.
When Loading /boot/defaults/loader.conf
is displayed, press Enter:
Hit [Enter] to boot immediately, or space bar for command prompt.
Press the space bar to enter the manual loader. The loader >
prompt is displayed.
Note: Due to a one-second delay, do not press the space bar until Loading /boot/defaults/loader.conf
is displayed.
-
Set the EX Series switch-management IP address and netmask:
loader> set ipaddr=192.168.100.2
loader> set netmask=255.255.255.0
loader> set serverip=192.168.100.1
Note: In case the TFTP server is not in the same IP segment, the gateway IP address will also be needed. Example:
loader> set gatewayip=192.168.100.1
- Install the Junos OS image via TFTP:
loader> install tftp://192.168.100.1/jinstall-ex/mx-10.0R2-domestic-signed.tgz
Note: This will install Junos OS to an alternate slice in the system, or with [--format] option for a format installation.
loader> install --format tftp://192.168.100.1/jinstall-ex/mx-10.0R2-domestic-signed.tgz
The part of the boot log shown below is related to the steps listed above:
Consoles: U-Boot console
Found compatible API, ver. 7
FreeBSD/PowerPC U-Boot bootstrap loader, Revision 2.1
(XXX@apg-bbuild01.juniper.net, Wed Feb 6 11:23:55 PST 2008)
Memory: 1024MB
Loading /boot/defaults/loader.conf
/kernel data=0x9dc348+0x6df44 syms=[0x4+0x87bb0+0x4+0x8e152]
Hit [Enter] to boot immediately, or space bar for command prompt.< Press the space bar
Type '?' for a list of commands, 'help' for more detailed help.
loader>
loader> set ipaddr=192.168.100.2
loader> set netmask=255.255.255.0
loader> set serverip=192.168.100.1
loader> install tftp://192.168.100.1/jinstall-ex-10.0R2-domestic-signed.tgz
Speed: 100, full duplex
Package /jinstall-ex/mx-10.0R2-domestic-signed.tgz is signed...
/kernel data=0x504104+0x32e60 syms=[0x4+0x50a00+0x4+0x6366f]
Kernel entry at 0xa0000100 ...
GDB: no debug ports present
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1996-2008, Juniper Networks, Inc.
All rights reserved.
Copyright (c) 1992-2006 The FreeBSD Project.
2020-03-04: Added a note with gatewayip setting for use in case the TFTP server is not in the same segment
2019-12-06: Added EX4300 to supported platforms list