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

From NesevoWiki
Jump to navigationJump to search
Line 1: Line 1:
 
* See JunOS knowledge base: https://kb.juniper.net/InfoCenter/index?page=content&id=KB11409
 
* See JunOS knowledge base: https://kb.juniper.net/InfoCenter/index?page=content&id=KB11409
 
* 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 <code>root</code> user. The prompt looks like this: <code>root></code>
+
* Connect to the router's console as <code>root</code> user (the prompt looks like this: <code>root></code>)
* Start a shell session: <code>start shell</code>
+
* Start a shell session: <code>start shell</code> (the prompt changes to <code>root%</code>)
 
* Create a temporary folder and mount the USB drive:
 
* Create a temporary folder and mount the USB drive:
 
** <code>mkdir /mnt/usb</code>
 
** <code>mkdir /mnt/usb</code>
Line 8: Line 8:
 
* Copy the <code>jinstall</code> file to the local file system: <code>cp /mnt/usb/jinstall-ppc-14.2R7.5-domestic-signed.tgz /var/tmp/</code>
 
* Copy the <code>jinstall</code> file to the local file system: <code>cp /mnt/usb/jinstall-ppc-14.2R7.5-domestic-signed.tgz /var/tmp/</code>
 
* Unmount the USB drive and disconnect it: <code>umount /mnt/usb</code>
 
* Unmount the USB drive and disconnect it: <code>umount /mnt/usb</code>
* Exit the shell to go back to command mode: <code>exit</code>
+
* Exit the shell to go back to command mode: <code>exit</code> (the prompt changes back to <code>root></code>)
 
* Install the software with the command
 
* Install the software with the command
 
** <code>request system software add /var/tmp/jinstall-ppc-14.2R7.5-domestic-signed.tgz</code>
 
** <code>request system software add /var/tmp/jinstall-ppc-14.2R7.5-domestic-signed.tgz</code>
 
* Reboot the router: <code>request system reboot</code>
 
* Reboot the router: <code>request system reboot</code>

Revision as of 10:06, 22 December 2016

  • See JunOS knowledge base: https://kb.juniper.net/InfoCenter/index?page=content&id=KB11409
  • 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>)
  • 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: cp /mnt/usb/jinstall-ppc-14.2R7.5-domestic-signed.tgz /var/tmp/
  • Unmount the USB drive and disconnect it: umount /mnt/usb
  • Exit the shell to go back to command mode: exit (the prompt changes back to root>)
  • Install the software with the command
    • request system software add /var/tmp/jinstall-ppc-14.2R7.5-domestic-signed.tgz
  • Reboot the router: request system reboot