The Command Runner tool allows you to send diagnostic CLI commands to selected devices. Currently, show and other read-only commands are permitted.
Run Diagnostic Commands on Devices
Command Runner lets you run diagnostic CLI commands on selected devices and view the resulting command output.
Command Runner supports only a subset of the shortcuts that are available as part of a standalone terminal.
Before you begin
Begin using Command Runner, do the following:
In the Cisco DNA Center GUI, click the Menu icon () and choose System > Software Updates > Installed Apps. Find the Command Runner application and click Install.
After installation, run a Discovery job to populate Cisco DNA Center with devices. You are presented with a list of devices from which to run diagnostic CLI commands.
In the Cisco DNA Center GUI, click the Menu icon () and choose Tools > Command Runner.
The Command Runner window appears.
In the Search field, click the drop-down arrow to search by Device IP or Device Name.
Choose a device or devices on which to run diagnostic CLI commands.
A Device List with your selection appears.
(Optional) Select another device to add to the list. You can select up to 20 reachable devices.
Although the device list displays everything available in inventory, Command Runner is not supported for wireless access points
and Cisco Meraki devices. If you choose an access point device or Cisco Meraki device, a warning message appears, stating
that no commands will be executed on them.
In the Select/Enter commands field, enter a CLI command and click Add.
Command Runner supports type ahead. As you begin typing, Command Runner displays the commands available for you to choose.
You can also type a new, valid command.
Click Run Command(s).
If successful, a Command(s) executed successfully message appears.
Click the command displayed underneath the device to view the command output.
The complete command output is displayed in the Command Runner window.
Click Export CLI Output to export the command output to a text file that you can save locally.
Click Go Back to return to the previous window.
If necessary, click the x next to a device name to remove the device from the device list. Similarly, click the x next to a command to remove the command from the list.