Software Secure Firewall Threat Defense
Platform Secure Firewall Threat Defense Virtual
Activity Onboard

Create a CLI Macro from a New Command

Procedure

1

Before you create a CLI macro, test the command in Security Cloud Control's Command Line Interface to make sure the command syntax is correct and it returns reliable results.


 
  • For FDM-managed devices, Security Cloud Control supports only the commands that can be run in FDM's CLI console: show, ping, traceroute, packet-tracer, failover, reboot, and shutdown. See Cisco Firepower Threat Defense Command Reference for a full description of the syntax of those commands.

2

In the left pane, click Security Devices.

3

Click the Devices tab to locate the device.

4

Click the appropriate device type tab and select an online and synced device.

5

Click >_Command Line Interface.

6

Click the CLI macro favorites star to see what macros already exist.

7

Click the the plus button .

8

Give the macro a unique name. Provide a description and notes for the CLI macro if you wish.

9

Enter the full command in the Command field.

10

Replace the parts of the command that you would want to modify, when you run the command, with a parameter name surrounded by curly braces.

11

Click Create. The macro you create is available for use on all the devices of that type, not just the one you initially specified.

To run the command see, Running CLI Macros on your Device.