So how do you upgrade the JUNOS version on your device? With Cisco IOS it’s pretty easy. Copy the old IOS to your tftp server and then copy a new IOS image on and restart your box.
JUNOS doesn’t use tftp though, only regular ftp. You can either copy the images from with JUNOS itself, or just run an FTP server on the JUNOS box itself and ftp from your PC. I prefer the latter.
To run an FTP server on your router, make sure you’ve configured an interface with an IP and is reachable. Then add the following:
# set system services ftp
# commit
Make sure you actually have a user configured that can upload files. If it’s a temp user just do the following:
On your PC, open a command window and change to the directory containing your images. Then ftp into your JUNOS box:
Now get back to the juniper.
This will take a while to finish. Once complete, type the following:
JUNOS should reboot twice in total, it’ll do this automatically. Once it comes back you’ll be in your new version:
Once done, remember to remove your ftpuser and the actual ftp server itself.
JUNOS doesn’t use tftp though, only regular ftp. You can either copy the images from with JUNOS itself, or just run an FTP server on the JUNOS box itself and ftp from your PC. I prefer the latter.
To run an FTP server on your router, make sure you’ve configured an interface with an IP and is reachable. Then add the following:
> configure
# set system services ftp
# commit
Make sure you actually have a user configured that can upload files. If it’s a temp user just do the following:
# set system login user ftpuser class super-user authentication plain-text-password
On your PC, open a command window and change to the directory containing your images. Then ftp into your JUNOS box:
C:\>ftp 10.4.10.10 Connected to 10.4.10.10. 220 FTP server (Version 6.00LS) ready. User (10.4.10.10:(none)): ftpuser 331 Password required for ftpuser. Password: 230 User ftpuser logged in. ftp> bin 200 Type set to I. ftp> cd /var/tmp 250 CWD command successful. ftp> put jinstall-8.1R3.3-domestic-signed.tgz 200 PORT command successful. 150 Opening BINARY mode data connection for 'jinstall-8.1R3.3-domestic-signed.tgz'. 226 Transfer complete. ftp: 93793459 bytes sent in 25.81Seconds 3634.42Kbytes/sec. ftp> bye
Now get back to the juniper.
> request system software add /var/tmp/jinstall-8.1R3.3-domestic-signed.tgz
This will take a while to finish. Once complete, type the following:
> request system reboot
JUNOS should reboot twice in total, it’ll do this automatically. Once it comes back you’ll be in your new version:
root@% cli root> show version Model: olive JUNOS Base OS boot [8.1R3.3] JUNOS Base OS Software Suite [8.1R3.3] JUNOS Kernel Software Suite [8.1R3.3] JUNOS Crypto Software Suite [8.1R3.3] JUNOS Packet Forwarding Engine Support (M/T Common) [8.1R3.3] JUNOS Packet Forwarding Engine Support (M20/M40) [8.1R3.3] JUNOS Online Documentation [8.1R3.3] JUNOS Routing Software Suite [8.1R3.3]
Once done, remember to remove your ftpuser and the actual ftp server itself.
No comments:
Post a Comment