Installing AI-Scripts Manually on Devices
AI-Scripts can also be installed on JUNOS devices manually using the CLI mode. To install AI-Scripts manually:
![]() | Note: For manual installation of AI-Scripts on a device, you require the login credentials used to discover devices in Junos Space. |
- Copy the AI-Script bundle (example: jais-2.1R2.0-signed.tgz) to the JUNOS device using SCP or FTP.
- In the configuration mode, execute the following commands:
set groups juniper-ais system scripts commit allow-transients
set groups juniper-ais system scripts commit file jais-activate-scripts.slax optional
set groups juniper-ais interfaces lo0 unit 0 family inet address 127.0.0.1/32
set groups juniper-ais event-options destinations juniper-aim archive-sites "scp://<user>@127.0.0.1://var/tmp" password <password for user> - Install the AI-Script bundle in the CLI mode using the
command
request system scripts add <full-path>/jais-2.1R2.0-signed.tgzThe AI-Script will be installed on the device.


