With newer releases of Junos OS, such as Junos OS 15.1, the overall memory footprint has increased. Due to this, the EX2200 and EX2200-C switches might become unresponsive after an upgrade to this version. This article explains why this happens and what the solution is.
When the EX2200 and EX2200-C switches are upgraded to Junos OS 15.1 and later releases, the device might become unresponsive or will hang, and the upgrade will go through only after a reboot.
The EX2200 and EX2200-C switches have a total memory of 512 MB, whereas the overall memory footprint has increased in Junos OS release 15.1 and later. There has been an increase in image size and also in system memory usage that the EX2200 platform cannot support while extracting and installing the image, particularly when a signed image is used.
There are two ways in which this issue can be resolved:
Using an unsigned image
To use unsigned images:
jinstall-ex-2200-15.1R6-S5-domestic.tgz
Using a signed and verified image
To use a signed image, perform the following steps and verify the package manually. In the following example, the EX2200 switch is used.
Extract the image as follows:
root@sea2-c1-b2-t0-r4-u1:RE:0% tar xzf jinstall-ex-2200-15.1R6-S5-domestic-signed.tgz
Look for the certs.pem and jinstall-ex-2200-15.1R6-S5-domestic.tgz.sig files in the output.
certs.pem
jinstall-ex-2200-15.1R6-S5-domestic.tgz.sig
root@sea2-c1-b2-t0-r4-u1:RE:0% ls -lrt total 489140 drwxrwxrwt 2 root wheel 512 Jan 6 2010 vi.recover drwxrwxrwx 2 root wheel 512 Jan 6 2010 pics drwxrwxrwx 2 root wheel 512 Jan 6 2010 install -rw-r--r-- 1 root field 42 Jan 6 2010 pfe_debug_commands drwxr-xr-x 2 root field 512 Jan 6 2010 .schema-cache drwxr-xr-x 2 root field 512 Jan 6 2010 rtsdb -rw-r--r-- 1 root field 57 Jan 6 2010 krt_rpf_filter.txt -rw------- 1 root field 384957 Jan 6 2010 varlogmes.tgz drwxrwxr-x 2 root operator 512 Jun 23 2016 .snap -rw-r--r-- 1 930 930 5211 Jan 26 14:04 ecerts.pem -rw-r--r-- 1 930 930 7267 Jan 26 14:04 certs.pem -rw-r--r-- 1 930 930 124953725 Jan 26 17:33 jinstall-ex-2200-15.1R6-S5-domestic.tgz -rw-r--r-- 1 930 930 41 Jan 26 17:33 jinstall-ex-2200-15.1R6-S5-domestic.tgz.sha1 -rw-r--r-- 1 930 930 526 Jan 26 17:33 jinstall-ex-2200-15.1R6-S5-domestic.tgz.sig -rw-r--r-- 1 930 930 279 Jan 26 17:33 jinstall-ex-2200-15.1R6-S5-domestic.tgz.esig -rw-r--r-- 1 930 930 33 Jan 26 17:33 jinstall-ex-2200-15.1R6-S5-domestic.tgz.md5 -rw-r--r-- 1 930 930 110882 Jan 26 17:33 +INSTALL -rw-r--r-- 1 930 930 213 Jan 26 17:33 +DESC -rw-r--r-- 1 930 930 1477 Jan 26 17:33 +CONTENTS -rw-r--r-- 1 930 930 59 Jan 26 17:33 +COMMENT -rw-r--r-- 1 root field 124805276 Apr 17 16:50 jinsta
Verify the image.
root@sea2-c1-b2-t0-r4-u1:RE:0% /sbin/verify-sig -b -c certs.pem jinstall-ex-2200-15.1R6-S5-domestic.tgz.sig Verified jinstall-ex-2200-15.1R6-S5-domestic.tgz signed by PackageProductionRSA_2018 method RSA2048+SHA1 root@sea2-c1-b2-t0-r4-u1:RE:0%
The image is now verified and the device can be upgraded with the manually verified image by using the following:
After the image is verified, it can be installed by using the procedure described in Installing Software on an EX Series Switch with a Single Routing Engine (CLI Procedure) .