Step 2: Add New Software
Action
To add new software packages, use the following JUNOS CLI operational mode command:
user@host>request system software add /var/tmp/jbundle-package--name
package-nameis the full URL to the file andrelease-numberis the major software release number; for example, 4.2R1. Before the new software is added, the existing software is automatically deleted.
NOTE: Even though you are adding the new software, the changes do not take effect until the router has completed rebooting.
Sample Output
user@host>request system software add /var/tmp/jinstall-5.2R2.3-domestic.tgzInstalling package '/var/tmp/jinstall-5.2R2.3-domestic.tgzAuto-deleting old jroute...Auto-deleting old jdocs...Auto-deleting old jpfe...Auto-deleting old jkernel...Adding JUNOS base software 5.2R2.3Adding jkernel...Adding jpfe...Adding jdocs...Adding jroute...NOTICE: uncommitted changes have been saved in /var/db/config/juniper.conf.pre-installSaving package file in /var/sw/pkg/jinstall-5.2R2.3-domestic.tgz