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 > App Management > Packages. Find the Command Runner package in the Application Management - Packages window and click Install.
After installation, run a Discovery job to populate Cisco DNA Center with devices. You will be 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.
From the Select one or more device(s) drop-down list, choose a device or devices on which to run diagnostic CLI commands.
A Device List with your selection appears.
Either select another device to add to the list or click your selected device or devices to close them.
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 Add a Command field, enter a CLI command and click Add.
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 then displayed in the Command Runner window.
Click Copy CLI to copy the command output to your clipboard so that you can paste it to a text file, if necessary.
Click Previous Page to return to the previous window.
If necessary, click the x symbol next to a device name to remove the device from the device list. Similarly, click the x symbol next to a command to remove the command from the command list.