Use the Bulk Command Line Interface

Send CLI commands to multiple devices of the same type at once.

Procedure


Step 1

In the left pane, click Security Devices.

Step 2

Click the Devices tab.

Step 3

Select multiple devices of the same type, and in the Device Actions pane on the right, click >_Command Line Interface.

Open the Command Line Interface
Open the Command Line Interface

Step 4

Enter one or more commands in the command pane, check or uncheck devices you want to send the commands to in the My List field, and click Send.

Command Line Interface
Command Line Interface
Note

If you enter a very long list of commands, you may exceed the limitations of Security Cloud Control's interface with the device. If you see an error, you can add extra blank lines between groups of commands so Security Cloud Control can send the commands in batches.

Note

For the ASA, if any of the selected devices are not synced, only the following commands are allowed: show , ping , traceroute , vpn-sessiondb , changeto , dir , write , and copy .

Step 5

View the device output.

The Execution tab shows the devices where the commands were sent; this list should match the selected devices in My List.

Command Line Interface
Command Line Interface

If there is no output for a command (either it was executed successfully, or there was no output to show), you will see Done! in the results pane.

The devices' response to the commands are displayed below in the response pane. If the response was the same for more than one device, the response pane displays the message "Showing Responses for X devices." Click X Devices to show all the devices that returned the same response in a pane to the right. Click View Device to go to that device in Inventory.

On the By Response tab, devices with identical responses are consolidated in a single row. Click a different row to show the response from other devices.

To re-run the command on the selected devices, click the prompt symbol to the right of the device row, and then click Send. You can change the commands you want to send or check and uncheck devices in the My List tab.

Execute a Command
History Pane

Click the By Device tab, and select a device to show only that device's command response.

Step 6

After you send commands, Security Cloud Control records that command in the History pane. You can rerun the commands saved in the history pane or use the commands as a macro. The commands in the history pane are associated with the original devices on which they were run.

  1. Click the clock icon to open the History pane.

    History Pane
    History Pane
  2. Select the command in the History pane that you want to modify or resend.

    Note that the command you pick is associated with specific devices (shown on the Execution tab) and not necessarily the ones you chose in the first step.

  3. Click the My List tab to check or uncheck additional devices.

  4. Reuse the command as it is or edit it in the command pane, and click Send.