Skip to main content (Press Enter).
Skip auxiliary navigation (Press Enter).
Terms and Conditions
Skip main navigation (Press Enter).
on this day
between these dates
Ideas & Innovation
Rise with Us
Become A Member
Back to Blog List
Scripting How-To: Execute scripts on Junos OS devices with JUISE
Mark as Inappropriate
Execute Scripts on Junos OS Devices with JUISE
From Junos Space Release 13.1 and later, the Junos Space image comes integrated with the Junos OS User Interface Scripting Environment (
), which enables you to execute a script on a remote device from the Junos Space server without having to stage the script on the device.
By default, JUISE is installed when you install or upgrade to Junos Space Release 13.1 or later. Only
scripts (*.slax) can be executed using JUISE. The conditions that should be met are:
The device should be reachable from the Junos Space server
annotation marked within the script should be set to true.
For example, the script should contain the following text:
/* @ISLOCAL = "true" */
When this annotation is set to false, you have to stage the script on a device first and then execute it.
To execute scripts on Junos OS devices with JUISE:
On the Junos Space Network Management Platform user interface, select
Images and Scripts
. The Scripts page displays the scripts that you imported into Junos Space Network Management Platform.
Identify and select only those scripts that have
displayed in the
Execute Script on Devices
from the Actions menu.
The Execute Script on Device(s) page appears.
Select the devices on which you want the script to be executed by using one of the following selection modes: manually, on the basis of tags, or by using the CSV file. These options are mutually exclusive. If you select one, the others are disabled.
Select the op script that you want to execute on a device.
Sample Local Scripts
A local script to view, install or delete license keys on devices
Displaying Script Results
How to open an SSH session from within a SLAX script
Local Script to Find Open Ports Across Multiple Devices
Using Local Scripts with an External Data Set
For more information, see
Reason for Moderation
Describe the reason this content should be moderated (required)
Copyright � 2020 Answers | Elevate Community | Juniper Networks. All rights reserved.
Powered by Higher Logic