Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

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

0

0

Article ID: KB12619 KB Last Updated: 12 Jul 2010Version: 2.0
Summary:
How can I tell if Advance Insight Scripts (AI-Scripts) are installed on my JUNOS device ?
Symptoms:

Solution:

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 {
            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 ASP_L2TP_NO_MEM.slax;
file ACCT_MALLOC_FAILURE.slax;
file CHASSISD_FASIC_FTOKEN_INIT_ERROR.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.
Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search