Support Support Downloads Knowledge Base Service Request Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[EX] How to install software on EX Series devices via a TFTP server

0

0

Article ID: KB11752 KB Last Updated: 06 Dec 2019Version: 11.0
Summary:

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.

Symptoms:

Install software on EX Series devices via a TFTP server.

Solution:

Perform the following steps:

  1. 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.

  2. Directly connect the EX Series device's management port to the TFTP server, or make sure that they are in the same broadcast domain.

  3. 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.

  1. 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
  1. Install the Junos image via TFTP:
loader> install tftp://192.168.100.1/jinstall-ex/mx-10.0R2-domestic-signed.tgz

Note: This will install Junos to 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
(marcelm@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.

Modification History:

2019-12-06: Added EX4300 to supported platforms list

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Security Alerts and Vulnerabilities

Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search