Installing AI-Scripts
Copyright
©
2010, Juniper Networks, Inc.
37
interfaces {
lo0 {
unit 0 {
family inet {
address 127.0.0.1/32;
}
}
}
}
event-options {
destinations {
juniper-aim {
archive-sites {
"scp://[email protected]://var/tmp" password " ... ";
}
}
}
}
}
}
6. If you have not moved the AI-Scripts to the device, do so now. See “Downloading AI-Scripts
Install Packages” on page 3.
7. Install the AI-Scripts package using the following command (see “AI-Scripts Commands” on
page 3):
user@host#
request system scripts add <package-name>
8. Verify that the AI-Scripts are activated:
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://[email protected]/aidemo";
}
}
}
}