Use the Command Line Interface on a Single Device

When you select a single device, you can enter one or more commands. You can also view and use command history to re-run a set of commands. To enter commands on multiple devices, see .

Procedure


Step 1

In the left pane, click Security Devices.

Step 2

Click the Devices tab.

Step 3

Select the device, 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, and click Send.

Command Line Interface
Command Line Interface

If there are limitations on the commands you can run, those limitations are listed above the command pane.

The device's response to the command(s) are displayed below in the response pane. 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.

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.

Example:

The following ASA example sends a batch of commands that creates three network objects and a network object group that contains those network objects.

Step 5

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.

  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.

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