Knowledge Search


How can I tell if AI-Scripts are installed on a JUNOS device ?

  [KB12619] Show Article Properties

How can I tell if Advance Insight Scripts (AI-Scripts) are installed on my JUNOS device ?


The show version command displays this information.
After AI-Scripts are installed with request system software add ai-scripts-package-name, an additional line appears in the output of the show version command :
talal@Newport-re0> show version 
Hostname: Newport-re0
Model: m320
JUNOS Base OS boot [9.0R3.6]
JUNOS Base OS Software Suite [9.0R3.6]
JUNOS Kernel Software Suite [9.0R3.6]
JUNOS Crypto Software Suite [9.0R3.6]
JUNOS Packet Forwarding Engine Support (M/T Common) [9.0R3.6]
JUNOS Packet Forwarding Engine Support (M320) [9.0R3.6]
JUNOS Online Documentation [9.0R3.6]
JUNOS Routing Software Suite [9.0R3.6]
JUNOS AIS Script Suite [1.2R2.0]
This additional line also reveals which AI-Scripts release is installed.

Alternatively, The following command can be used: show configuration groups juniper-ais | display commit-scripts
The presence of all the script names under event-options->event-scripts, as highlighted below, indicates that AI-Scripts are indeed installed on the router.
talal@Newport-re0> show configuration groups juniper-ais | display commit-scripts 
system {
    scripts {
        commit {
            file jais-activate-scripts.slax {
event-options {
    event-script {
file problem-event-pfecrash.slax;
file problem-event-dcrash.slax;
file intelligence-event-main.slax;
file ASP_L2TP_NO_MEM.slax;
} destinations { juniper-aim { archive-sites { "ftp://aimuser:aimuser@aimjtac/Aim_Archive_Location"; } } } }
If AI-Scripts are not installed then the event-scripts stanza would not be displayed.
Related Links: