Installing an Application Package on a Device Running Junos OS
After configuring the license of the JET application, you must add the JET application package onto the device running Junos OS. Then you can deploy it.
Adding a JET Application Package onto a Device Running Junos OS
To add a JET application package on a device running Junos OS:
- Copy the
application-name.tgzfile to the device running Junos OS, for example:% scp application-name.tgz device-hostname:/var/tmp
You can use other copy commands or FTP for this step as well.
Deploying a JET Application on a Device Running Junos OS
Before you begin this procedure, add the JET application package onto the device. Then, go into the operational mode of the CLI.
To deploy the JET application:
- Issue the request system software add operational
command from the CLI.user@device> request system software add application.tgz
The package validates the certificate with the configured provider ID. The provider ID is a uniquely identifying prefix that represents the name of the developer’s organization. If the provider ID matches that on the package, the package is deployed.
Using the request system software add CLI command brings the application into the
Following is an example:user@device> request system software add /var/tmp/echoclient-16.1I20160406_0623_root.tgzRemoving package 'echoclient' ...Unmounted /packages/mnt/echoclient-16.1I20160406_0623_root ...Installing package '/var/tmp/echoclient-16.1I20160406_0623_root.tgz' ...Verified echoclient-16.1I20160406_0623_root signed by chef-juniper-commercial-1 method RSA2048+SHA1 chefMounted echoclient package on /dev/md20...Verified manifest signed by chef-juniper-commercial-1 method RSA2048+SHA1Saving package file in /var/sw/pkg/echoclient-16.1I20160406_0623_root.tgz ...Saving state for rollback ...The app is installed:user@device> request system software add /var/tmp/echoserver-16.1I20160404_0845_root.tgzRemoving package 'echoserver' ' ...Unmounted /packages/mnt/echoserver-16.1I20160404_0845_root ...Installing package '/var/tmp/echoserver-16.1I20160404_0845_root.tgz' ...Verified echoserver-16.1I20160404_0845_root signed by chef-juniper-commercial-1 method RSA2048+SHA1 chefMounted echoserver package on /dev/md21...Verified manifest signed by chef-juniper-commercial-1 method RSA2048+SHA1Saving package file in /var/sw/pkg/echoclient-16.1I20160406_0623_root.tgz ...Saving state for rollback ...The app is installed:
The daemons echoclientd and echoserverd are put in the
- Verify the version of your application.
user@device> show version
JET echoclient example Application [16.2I20161106_0623_root] JET echoserver example Application [16.2I20161104_0845_root]