Within AIM, devices that are configured for AIS manually are automatically added to the device group that is associated with the AIM archive location to which the JMB was sent. When the AIM detects a JMB for a device that is not managed by JUNOScope Script Management, it will note it.
To manually configure and install AI-Scripts on devices, follow these steps:
- user@host#set groups
juniper-ais event-options destination juniper-aim {…}
This configuration determines the AIS archive location where JMBs are deposited for a device.
- user@host#set groups
juniper-ais system scripts commit file jais-activate-scripts.slax
optional
The AI-Scripts installer creates this script to activate AI-Scripts on the device.
- user@host#set groups
juniper-ais system scripts commit allow-transients
Transient changes are configuration changes made by commit scripts that do not appear in the configuration (except with a special command).
- user@host#set apply-groups
juniper-ais
- user@host#set groups
juniper-ais system scripts load-scripts-from-flash
![]() |
Note:
If you configure the load-scripts-from-flash option, the
system reads AI-Scripts from the |
- [edit]
- user@host# commit check
- configuration check succeeds
- [edit]
- user@host# commit
- commit complete
groups {
juniper-ais {
system {
scripts {
commit {
allow-transients;
file jais-activate-scripts.slax {
optional;
}
}
load-scripts-from-flash;
}
}
event-options {
destinations {
juniper-aim {
archive-sites {
"ftp://anonymous@10.7.0.124/aimdemo";
}
. . .
- user@host# request system
scripts add <package-name>
- user@host# show groups
juniper-ais | display commit-scripts
system {
scripts {
commit {
allow-transients;
file jais-activate-scripts.slax {
optional;
}
}
}
}
event-options {
event-script {
file problem-event-pfecrash.slax;
file problem-event-dcrash.slax;
file intelligence-event-main.slax;
file SPD_EVLIB_CREATE_FAILURE.slax;
file SPD_DAEMONIZE_FAILED.slax;
file RPD_TASK_FORK.slax;
. . .}
destinations {
juniper-aim {
archive-sites {
"ftp://anonymous@10.7.0.124/aidemo";
}
}
}
}