Difference between revisions of "Loading JunOS on an MX series router"

From NesevoWiki
Jump to navigationJump to search
Line 3: Line 3:
 
* Put the <code>jinstall-*.tgz</code> file on a FAT32 formatted USB drive and place it in the router's USB port
 
* Put the <code>jinstall-*.tgz</code> file on a FAT32 formatted USB drive and place it in the router's USB port
 
* Connect to the router's console as ''root'' user (the prompt looks like this: <code>root> </code>)
 
* Connect to the router's console as ''root'' user (the prompt looks like this: <code>root> </code>)
 +
  (If, right after login, you already are in shell mode (<code>root@% </code>) and the <code>exit</code> command will only log you out instead of bringinmg you into command mode (<code>root> </code>), you can issue the <code>cli</code> comamnd.)
 
* Check the current software version: <code>show version</code>
 
* Check the current software version: <code>show version</code>
 
* Start a shell session: <code>start shell</code> (the prompt changes to <code>root@% </code>)
 
* Start a shell session: <code>start shell</code> (the prompt changes to <code>root@% </code>)

Revision as of 10:07, 16 November 2017

Step-by-step:

  • Put the jinstall-*.tgz file on a FAT32 formatted USB drive and place it in the router's USB port
  • Connect to the router's console as root user (the prompt looks like this: root> )
  (If, right after login, you already are in shell mode (root@% ) and the exit command will only log you out instead of bringinmg you into command mode (root> ), you can issue the cli comamnd.)
  • Check the current software version: show version
  • Start a shell session: start shell (the prompt changes to root@% )
  • Create a temporary folder and mount the USB drive:
    • mkdir /mnt/usb
    • mount -t msdosfs /dev/da1s1 /mnt/usb
  • Copy the jinstall file to the local file system:
    • Example: cp /mnt/usb/jinstall-ppc-14.2R7.5-domestic-signed.tgz /var/tmp/
    • Example: cp /mnt/usb/jinstall-ppc-15.1R5.5-domestic-signed.tgz /var/tmp/
  • Unmount the USB drive and unplug it: umount /mnt/usb
  • Exit the shell session to go back to command mode: exit (the prompt changes back to root> )
  • Install the software with the command request system software add:
    • Example: request system software add /var/tmp/jinstall-ppc-14.2R7.5-domestic-signed.tgz
    • Example: request system software add /var/tmp/jinstall-ppc-15.1R5.5-domestic-signed.tgz
    • Example: request system software add /var/tmp/jinstall-ppc-15.1R6.7-domestic-signed.tgz
  • Reboot the router: request system reboot
  • Check the new software version has been installed: show version