Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Execute a Command and Export the Output with Looking Glass

Use the Looking glass feature to run the following commands on multiple devices from the Juniper Security Director Cloud interface:

  • show—displays device configuration or operational details.
  • ping—tests network connectivity to a specified IP address or hostname.
  • test—runs diagnostic tests on device components.
  • traceroute—traces the route, the packets take to reach a destination.
Before You Begin
  • Configure the response timeout in seconds. Navigate to Admin > Organization > Settings > Looking Glass RPC timeout

    The default value is 120 seconds. It can range from 30 to 600 seconds.

  • Make sure the selected devices are discovered and in UP state.

To execute a CLI command:

  1. Navigate to Inventory > Devices and select the required devices.
    You can select upto 10 devices only.
  2. Right-click the selected device and select the Looking Glass option. Alternatively, select the devices, click More, and select Looking Glass from the drop-down list.
    The Looking Glass page opens with the selected devices. The list displays devices in UP state. You can also update your devices using the drop-down list.
  3. Enter a command or its first few letters in the Command field. An alphabetical list of suggestions is displayed. Select the command you need and click Execute.
    • Suggestions include commands from the Juniper Security Director Cloud database. You can execute these commands on the selected devices.

    • You can manually enter and run any command that begins with show, ping, test, or traceroute, even if the full command does not appear in the suggestions list.

    • Invalid commands will result in error.

    • Lengthy commands that do not fit in the Command field are truncated and displayed with dots (...).

    • When a command requires input, replace the text in angle brackets (< >) with your own data.

      For example, replace <slot> in show chassis routing-engine <slot> with a slot number, like show chassis routing-engine 1.

    The command output is displayed for all the devices in the default text view. You can switch between text () and table () views using the respective icons.

  4. Copy the output for each device or export () it in text or CSV format. When you export, a zip file containing text or CSV files for each device is saved to your local device.