Skip to main content

 

 

Cisco Defense Orchestrator

Export CLI Command Results

You can export the results of CLI commands issued to a standalone device, or several devices, to a comma separated value (.csv) file so you can filter and sort the information in it however you like. You can export the CLI results of a single device, or many devices at once. The exported information contains the following:

  • Device
  • Date
  • User
  • Command
  • Output

Export CLI Command Results

You can export the results of commands you have just executed in the command window to a .csv file:

  1. Open the Devices & Services page.
  2. Select the device or devices so they are highlighted. 
  3. In the Device Actions pane for the device, click >_Command Line Interface.
  4. In the command line interface pane, enter a command and click Send to issue it to the device.
  5. To the right of the window of entered commands, click the export icon export_CLI.PNG.
  6. Give the .csv file a descriptive name and save the file to your local file system. When reading the command output on the .csv file, expand all the cells to see all the results of the command. 

Export the Results of CLI Macros

You can export the results of macros that have been executed in the command window. Use the following procedure to export to a .csv file, the results of CLI macros executed on one or multiple devices:

  1. Open the Devices & Services page.
  2. Select the device or devices so they are highlighted. 
  3. In the Device Actions pane for the device, click >_Command Line Interface.
  4. In the left pane of the CLI window, select the CLI macro favorites star cli_star.png.
  5. Click on the macro command you want to export. Fill in any appropriate parameters and click Send.
  6. To the right of the window of entered commands, click the export icon export_CLI.PNG.
  7. Give the .csv file a descriptive name and save the file to your local file system. When reading the command output on the .csv file, expand all the cells to see all the results of the command. 

Export the CLI Command History

Use the following procedure to export the CLI history of one or multiple devices to a .csv file:

  1. Open the Devices & Services page.
  2. Select the device or devices so they are highlighted. 
  3. In the Device Actions pane for the device, click >_Command Line Interface.
  4. Click the Clock icon clock.png to expand the history pane if it is not already expanded.
  5. To the right of the window of entered commands, click the export icon export_CLI.PNG.
  6. Give the .csv file a descriptive name and save the file to your local file system. When reading the command output on the .csv file, expand all the cells to see all the results of the command. 

 

Related Articles:

  • Was this article helpful?