KB ID 0000989
Problem
With two brand new SRX240 firewalls on the bench my first task was to get them updated to the latest operating system.
Solution
Before you start get the updated Juniper software.
Option 1 Update the SRX firewall via Command Line
1. Connect to the firewall via either Console cable, telnet, or SSH.
2. Log on and then go to CLI mode, and then configuration mode.
— JUNOS 12.1X44-D30.4 built 2014-01-11 03:56:31 UTC
[email protected]% cli [email protected]> configure Entering configuration mode
[edit] [email protected]#
2. The more observant of you will have noticed that it has already shown you the OS version above, but in case there is any doubt.
[edit] [email protected]# exit
3. I’ve always got 3CDeamon on my laptop so I’ll copy the update file over via FTP to the /var/tmp folder. (Note: We’re not at CLI or configure mode!)
4. Now perform the upgrade.
5. Then reboot the firewall.
[email protected]> request system reboot Reboot the system ? [yes,no] (no) yes
Shutdown NOW! [pid 2749]
*** FINAL System shutdown message from [email protected] ***
System going down IMMEDIATELY
6. Post reboot, check the version again.
login: root Password: ********
— JUNOS 12.1X47-D10.4 built 2014-08-14 22:21:50 UTC
[email protected]% cli [email protected]> configure Entering configuration mode
[edit] [email protected]# show version ## Last changed: 2014-08-26 21:51:09 GMT version 12.1X47-D10.4;
[edit] [email protected]#
Option 2 Update the SRX firewall via J-Web
1. To check the current version > Connect to the web console > Dashboard > Software Version.
2. Maintain > Software > Upload Package > Choose File > Browse to the file you downloaded earlier > Upload and Install Package.
Note: Here I have selected ‘Reboot Firewall’, in production you may NOT want to do that until later.
3. It can take a little while, (and look like nothing is happening), time for a coffee.
4. Post reboot, check the version again to make sure it has incremented.
Related Articles, References, Credits, or External Links
NA