300-435 Question 196
Single answerYou are tasked with running a series of CLI commands on multiple devices in your network using Cisco DNA Center APIs. To streamline the process, you decide to use the Command Runner API. Which prerequisite must be met for the Command Runner API to execute commands successfully?
- A
The devices must be part of an inventory in Cisco DNA Center.
- B
The devices must have at least one scheduled maintenance task configured.
- C
The devices must support NETCONF for configuration changes.
- D
The devices must be configured for SNMPv3 communication.
Show answer and explanation
Correct answer: A
Explanation
The Cisco DNA Center Command Runner API allows execution of CLI commands on devices. However, for the API to function, the devices need to be part of the Cisco DNA Center inventory. This ensures that the API can identify and communicate with the devices effectively. Without adding devices to the inventory, the Command Runner API cannot run the desired commands.
- A. Correct.
Correct. For the Command Runner API to execute commands, the devices must first be discovered and added to the Cisco DNA Center inventory.
- B. Incorrect.
Incorrect. While scheduled maintenance tasks might be useful for operational tasks, they are not a prerequisite for using the Command Runner API.
- C. Incorrect.
Incorrect. The Command Runner API does not rely on NETCONF support; it focuses on executing CLI commands.
- D. Incorrect.
Incorrect. While SNMPv3 enhances security for monitoring, it is not required for the Command Runner API to function.