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 rerun a set of commands. To enter commands on multiple devices, refer to .

Procedure


Step 1

Choose Security Devices.

Step 2

Click the Devices tab.

Step 3

Select the device, and in the Device Actions pane, click >_Command Line Interface.

Security Devices page with the command line interface button highlighted.

Step 4

Enter one or more commands in the command pane, and click Send.

Command Line Interface page with the highlighted show version and send options.

If there are limitations on the commands you can run, they appear in the area above the command pane.

The response to your commands is displayed 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.

    Command Line Interface with highlighted 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.