Difference between revisions of "Loading JunOS on an MX series router"
From NesevoWiki
Jump to navigationJump to search| Line 12: | Line 12: | ||
* Unmount the USB drive and unplug it: <code>umount /mnt/usb</code> | * Unmount the USB drive and unplug it: <code>umount /mnt/usb</code> | ||
* Exit the shell session to go back to command mode: <code>exit</code> (the prompt changes back to <code>root> </code>) | * Exit the shell session 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</code>: |
** Example: <code>request system software add /var/tmp/jinstall-ppc-14.2R7.5-domestic-signed.tgz</code> | ** Example: <code>request system software add /var/tmp/jinstall-ppc-14.2R7.5-domestic-signed.tgz</code> | ||
** Example: <code>request system software add /var/tmp/jinstall-ppc-15.1R5.5-domestic-signed.tgz</code> | ** Example: <code>request system software add /var/tmp/jinstall-ppc-15.1R5.5-domestic-signed.tgz</code> | ||
* Reboot the router: <code>request system reboot</code> | * Reboot the router: <code>request system reboot</code> | ||
Revision as of 09:13, 22 December 2016
- For reference: see Juniper knowledge base: https://kb.juniper.net/InfoCenter/index?page=content&id=KB11409
Step-by-step:
- Put the
jinstall-*.tgzfile 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 toroot%) - Create a temporary folder and mount the USB drive:
mkdir /mnt/usbmount -t msdosfs /dev/da1s1 /mnt/usb
- Copy the
jinstallfile 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/
- Example:
- 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 toroot>) - 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:
- Reboot the router:
request system reboot