Juniper ADVANCED INSIGHT SCRIPTS 2.5 - RELEASE NOTES REV 1 Release Note page 35

Table of Contents

Advertisement

To manually configure and install AI-Scripts on devices, follow these steps:
1. Download AI-Scripts install packages. See "Downloading AI-Scripts Install Packages" on
2. Configure the device configuration as follows to activate AI-Scripts:
©
Copyright
2010, Juniper Networks, Inc.
page 3.
a. Enter the device CLI configuration mode. Type the configure command or the edit
command from the CLI operation mode. The CLI prompt changes from user@host> to
user@host# and a banner appears to indicate the hierarchy level.
b. For non–Junos Space devices only: Configure an AIS destination under group juniper-
ais:
user@host#set groups juniper-ais event-options destination juniper-aim {...}
This sets the AIS archive location where JMBs are deposited for a device. The group
name juniper-ais is mandatory. The group destination name juniper-aim is mandatory.
c. For Junos Space devices only: Set the local host address and configure an AIS
destination under group juniper-ais:
user@host#set groups juniper-ais interfaces lo0 unit 0 family inet address
127.0.0.1/32
This sets the local host address 127.0.0.1 to the device loopback address. It is used with
the next command to ensure that JMBs can be sent to and retrieved from the local
device.
user@host#set groups juniper-ais event-options destination juniper-aim
archive-sites "scp://<user>@127.0.0.1://var/tmp" password <password for
user>
Configure this line exactly as shown, substituting <user> and <password for user> with
the Service Now user name and password required for accessing the device. This
configuration ensures the JMBs generated by AI-Scripts are sent to and from the
/var/tmp directory of the device, using the correct permissions for the device. The group
name juniper-ais is mandatory. The group destination name juniper-aim is mandatory.
d. Configure the commit script:
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. The
optional setting is required to prevent the configuration from committing if the jais-
activate-scripts.slax file is not present. That file is not present until the scripts bundle is
installed.
e. Configure the allow-transients option to allow transient changes:
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).
f.
Apply the juniper-ais group:
user@host#set apply-groups juniper-ais
g. (Optional) Configure the load-scripts-from-flash option:
user@host#set groups juniper-ais system scripts load-scripts-from-flash
Installing AI-Scripts
35

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ADVANCED INSIGHT SCRIPTS 2.5 - RELEASE NOTES REV 1 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents