quarta-feira, 22 de julho de 2015

Upgrading the software on Juniper EX switch.

(First post on english) This may be something similar on other platforms (such as SRX firewalls and other JunOS-based devices). First, we need the new firmware available on Juniper site on an USB stick. After the new software is copied on the USB, insert the stick on USB port on the EX switch, mount and install the new software. After the software loading is complete, reboot and verify the newer version installed and running. Below:

Mounting the USB stick and verify the content inside:
root@:LC:0% mount_msdosfs /dev/da1s1 /mnt
root@:LC:0% ls /mnt/
$RECYCLE.BIN
jinstall-ex-2200-12.3R10.2-domestic-signed.tgz
root@:LC:0%
Now jump to cli and run:
>request system software add /mnt/jinstall-ex-2200-12.3R10.2-domestic-signed.tgz 
Wait while it is working...  It will show the following after the proccessing:
NOTICE: Validating configuration against incoming-package.tgz.
NOTICE: Use the 'no-validate' option to skip this if desired.
WARNING: A reboot is required to install the software
WARNING:     Use the 'request system reboot' command immediately
 Then...
root> request system reboot
Reboot the system ? [yes,no] (no) yes

Shutdown NOW!
[pid 1464]

root>
*** FINAL System shutdown message from root@ ***

System going down IMMEDIATELY
And bla bla bla... Wait until get device back to life again and check if the newer firmware is installed. The expected version should be 12.3R10.2:
root> show version
fpc0: 
--------------------------------------------------------------------------
Model: ex2200-c-12t-2g
JUNOS Base OS boot [12.3R10.2]
JUNOS Base OS Software Suite [12.3R10.2]
JUNOS Kernel Software Suite [12.3R10.2]
JUNOS Crypto Software Suite [12.3R10.2]
JUNOS Online Documentation [12.3R10.2]
JUNOS Enterprise Software Suite [12.3R10.2]
JUNOS Packet Forwarding Engine Enterprise Software Suite [12.3R10.2]
JUNOS Routing Software Suite [12.3R10.2]
JUNOS Web Management [12.3R10.2]
JUNOS FIPS mode utilities [12.3R10.2]
{master:0}
root>
That's it. You have the new software version on your device :)

Nenhum comentário:

Postar um comentário