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.
Before you begin
Perform the following procedures before you begin using Command Runner:
First, install the Command Runner application. From the Cisco DNA Center home page, click the gear icon (), and then choose System Settings > 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.
From the Cisco DNA Center home page, click Command Runner in Tools.
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.